regex matching rst code block?
Edward K. Ream
edreamleo at charter.net
Sun Sep 3 11:16:11 EDT 2006
Here is a little regular expression puzzle. I wish a regex that matches an
rst code block, that is,
'::' followed by a group of lines all indented by at least as much as the
first non-blank line following the '::'
My guess is that this is not possible. Can anyone prove me wrong :-)
Edward
--------------------------------------------------------------------
Edward K. Ream email: edreamleo at charter.net
Leo: http://webpages.charter.net/edreamleo/front.html
--------------------------------------------------------------------
More information about the Python-list
mailing list