Computer Association of SIUE - Forums

CAOS Forums => Technical Knowledge => Topic started by: Justin Camerer on 2008-11-01T17:40:57-05:00 (Saturday)

Title: Regular Expression Visualizer
Post by: Justin Camerer on 2008-11-01T17:40:57-05:00 (Saturday)
http://osteele.com/tools/reanimator/???

Thought this was really badass. I also just realized that it is possible to graduate from SIUE and not know what a regular expression is. If you find that you do not know, I would highly suggest that you read about them (http://en.wikipedia.org/wiki/Regular_expression). They are extremely useful and this visualizer would be a big help in learning how they work.
Title: Re: Regular Expression Visualizer
Post by: Tony on 2008-11-01T21:11:41-05:00 (Saturday)
Aye, in Unix there is grep which is amazing when you are trying to find a file that has certain code in it or something like that.  At work we wrote a shell script that utilizes grep to make a recursive grep (rgrep as we call it), which starts at your current directory and checks everything in it and every sub directory for the expression you provide it.  It then returns the name of the file it is in and the line of code that contains it.  Pretty nice.  You can then pipe that into -lh to get only the file names.  Pretty sweet.

BTW, Justin how is NY and Limewire?  Share some details!  Are the keeping you interested?  Work on any really kewl stuff? 
Title: Re: Regular Expression Visualizer
Post by: Justin Camerer on 2008-11-01T21:34:25-05:00 (Saturday)
oh, yeah... i always forget to post stuff about lime. hmm... ill try to make it a point to do that this week sometime.
Title: Re: Regular Expression Visualizer
Post by: William Grim on 2008-11-02T01:03:27-05:00 (Sunday)
Quote from: Tony on 2008-11-01T21:11:41-05:00 (Saturday)
At work we wrote a shell script that utilizes grep to make a recursive grep (rgrep as we call it)

You mean "grep -r"?  What OS are you using that doesn't have recursion built into grep already?
Title: Re: Regular Expression Visualizer
Post by: Mark Sands on 2008-11-02T15:10:36-06:00 (Sunday)
yeah this is pretty sweet I saw it on reddit yesterday