• Welcome to Computer Association of SIUE - Forums.
 

Regular Expression Visualizer

Started by Justin Camerer, 2008-11-01T17:40:57-05:00 (Saturday)

Previous topic - Next topic

Justin Camerer

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.
Justin Camerer
Do yo' chain hang low?

Tony

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? 
I would rather be hated for doing what I believe in, than loved for doing what I don't.

Justin Camerer

oh, yeah... i always forget to post stuff about lime. hmm... ill try to make it a point to do that this week sometime.
Justin Camerer
Do yo' chain hang low?

William Grim

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?
William Grim
IT Associate, Morgan Stanley

Mark Sands

yeah this is pretty sweet I saw it on reddit yesterday
Mark Sands
Computer Science Major