in reply to perl examples

Actually that's genius, maybe an app that test regular expressions and/or helps you build one. You input the expected result by choosing radio buttons and such and the output is shown to you with a pass or fail - could be good for teaching purposes too. -Thanks

Replies are listed 'Best First'.
RE: RE: perl examples
by Anonymous Monk on Mar 16, 2000 at 12:06 UTC
    Hm... this is a bit less trivial than it sounds. I could understand a tutorial that describes what a regex should and should not match and the range of inputs and the user has to enter a regex and the program tests it against a good range of inputs to test for false-positives and false-negatives. But how do you have radio buttons to describe a range of inputs and what should match and what shouldn't match and automatically generate a good test suite? Anyone?