Nested brackets
Eric Daspet
eric.daspet at survol.net
Fri Sep 2 09:32:41 EDT 2005
Michel Fortin a écrit :
> Le 2005-09-02 à 0:57, Yuri T. a écrit :
>
>> I ironed out most of the remaining issues, it seems, except for the
>> nested brackets (still looking for a non-ugly solution)
>
>
> About nested brackets, unless your language support recursive regular
> expressions, I don't think there is much other choice than doing what
> I did in PHP: support a limited number of nested brackets.
I've never tried it but if I trust PHP documentation, recursive patterns
are allowed in PHP (search "Recursive patterns" in
http://fr.php.net/manual/en/reference.pcre.pattern.syntax.php)
From what I know PHP and Python are both based on the PCRE library so
python may have it too
--
Eric Daspet
More information about the Markdown-Discuss
mailing list