|| ||Mike Meyer <mwm-tkOQc4lHIczYtjvyW6yDsg-AT-public.gmane.org> |
|| ||python-ideas-+ZN9ApsXKcEdnm+yROfE0A-AT-public.gmane.org |
|| ||New pattern-matching library (was: str.split with
multiple individual split characters) |
|| ||Mon, 28 Feb 2011 11:04:06 -0500|
|| ||Article, Thread
Ok, with everyone at least noticing that regular expressions are hard,
if not actively complaining about it (including apparently Larry wall),
maybe it's time to add a second pattern matching library - one that's
There are any number of languages with readable pattern matching -
Icon, Snobol and REXX all come to my mind. Searching pypi for "snobol"
reveals two snobol string matching libraries, and I found one on the
web based on icon.
Possibly we should investigate adding one of those to the standard
library, along with a cross-reference from the regexp documentation?
Mike Meyer <mwm-tkOQc4lHIczYtjvyW6yDsg@public.gmane.org> http://www.mired.org/consulting.html
Independent Software developer/SCM consultant, email for more information.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
to post comments)