ShowUsYour<Blog>

Irregular expressions regularly

A new feature for RegexSnippets

I noticed that several people on the regex lists post working snippets with their regex's to demonstrate how the pattern is used in code - and to prove that it works ;-), so, I decided to add another form to RegexSnippets that will allow you to enter code and compile+execute it on the fly.  By using this feature a user can test the pattern in the tool, then bring up the new form, write a harness module and compile it in the tool before adding it to their post.  Here's a picture of my progress to date:

A harness to built and test snippets

As you can see, I'm certainly no UI guru! ;-)  The form will come with 5 or 6 standard templates for common things such as enumerating a Matches collection, Replacing etc.

Comments

Chris Frazier said:

Sweet! Now, all I have to do is find out how (and when) to leverage Regex!:P
# May 2, 2003 1:10 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)