[Baypiggies] More dramatic material?
Dennis Reinhardt
DennisR at dair.com
Wed Feb 24 17:02:07 CET 2010
At 07:04 AM 2/24/2010, Glen Jarvis wrote:
>Regex's have been my weakness forever because it just isn't
>readable like python is readable. They just feel so unpythonic.
In all my reading about RE, I have never seen (or remembered) a
discussion of how to create a complex RE. They are always shown
full-blown as if the purpose is to intimidate and imnpress. See
http://www.texttoolkit.com/index.php?option=com_content&view=article&id=63:parsing-balanced-parenthesis-with-regular-expressions&catid=35:technology&Itemid=55
for a discussion of how a complex RE is constructed out of several
smaller pieces. This method is particularly applicable if the
parsing goal can be defined by a grammar (e.g. BNF) because you are
handed a template for what the pieces are.
---------------------------------
| Dennis | DennisR at dair.com |
| Reinhardt | http://www.dair.com |
---------------------------------
More information about the Baypiggies
mailing list