From: Yuri T. <qar...@gm...> - 2008-09-03 09:09:17
|
> Therefore, I propose that we select 2 strings of random chars (using > whatever method you desire) and **hardcode** those 2 strings into > markdown.py. That way, on each import (each page view in the above > scenario) the placeholder strings will be the same and debugging will > be consistent. What we really want is a string that will never be > matched by another inline pattern's regex. We just need a string of > all same-case chars between a-z of length n. As long as it does not > contain any known words or abbreviations it works for me. > Additionally, if the string is consistent, that makes it easier for an > extension author to write the regex for inline patterns that will not > match the string in the placeholder. That's exactly what I suggested in my first email to this thread. :) - yuri -- http://sputnik.freewisdom.org/ |