[lug] REGEX DEVELOPMENT TOOL

Andrew Louder ajlouder at yahoo.com
Tue May 14 13:02:27 MDT 2013


You may consider TCL/expect scripts, which supports regular expressions with switch/case statements.
https://www.tcl.tk/man/tcl8.6/TclCmd/switch.htm


Andy


________________________________
 From: Gordon Golding <gordongoldin at aim.com>
To: lug at lug.boulder.co.us 
Sent: Tuesday, May 14, 2013 11:56 AM
Subject: [lug] REGEX DEVELOPMENT TOOL
 


Looks like I will be developing a lot of regex's.
Legacy  systems send info - client info, transactions, info about suppliers for the transaction, etc.. in packed text files.
Basic structure is known, but there are so many variants, even from one client.
So there needs to be a flexible library of regexs which can be re-used and extended.

Are there any tools better than regex?  Like a powerful parser tool - like the front end of a compiler?
( I will be drawn and quartered in the public square for desecrating the name of regex...)

After my "correction" by the Spanish Inquisition for asking the above question....
What about the best tool to developand manage a tree of Regexs?

Like the way a code management system gives you the tree -
I could see the parents and siblings and easily see differences, so I could easily visualize and grab "this from branch A and this from C and quickly create my hybrid". 


Gordon Golding

_______________________________________________
Web Page:  http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20130514/f5a55dcc/attachment.html>


More information about the LUG mailing list