Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Regex Lab 4 Studying

by chanio (Priest)
on Jul 06, 2005 at 06:32 UTC ( #472709=note: print w/replies, xml ) Need Help??


in reply to Common Regex Gotchas

I have found a very good application that would do a good job for learning purposes of Windows REGEX students... The Regex Coach .

Working on LINUX would be easier for Regular Expression practices since nearly all works like this. But on Windows, besides the great Bundle::PPT (A bundle for install perl power tools that emulate LINUX shell commands) there are very reduced ways of dealing with REGEX. And oneliners are good, if you could be sure that the rest of the code is not affecting the REGEX to be tested.

This Regex Coach was programmed in Common Lisp. And explains a lot about any regular expression that I could try...

It not only resolves matching, substitutions and splitting, but also makes a short description of the regex to test. It shows the mistakes and draws a tree with the possible paths considered by the evaluation. There is even a step by step traversing of the main decisions that the regex engine does. And highlights the chars that are involved on each one. It also allows to mask some part of the text to be filtered, to see the efects of the regular expression. When each step is done, a part of the text is highlited, as well as the part of the code involved in that moment. People should try this freeware. And thank the author, to encourage him to keep on improving it... If it is possible!

{ \ ( ' v ' ) / }
( \ _ / ) _ _ _ _ ` ( ) ' _ _ _ _
( = ( ^ Y ^ ) = ( _ _ ^ ^ ^ ^
_ _ _ _ \ _ ( m _ _ _ m ) _ _ _ _ _ _ _ _ _ ) c h i a n o , a l b e r t o
Wherever I lay my KNOPPIX disk, a new FREE LINUX nation could be established

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://472709]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2023-03-23 20:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?