On Mar 24, 12:39 pm, Peter Waller <peter.wal...@gmail.com> wrote: > > Maybe I might re-implement this with pyparsing and some unit tests. >
In your pyparsing efforts, you might draw some insights from this regex inverter (that is, given an re such as "[AB]\d", returns "A0" through "B9") on the pyparsing wiki: http://pyparsing.wikispaces.com/file/view/invRegex.py. -- Paul -- http://mail.python.org/mailman/listinfo/python-list