Software development & .NET RSS 2.0
 Saturday, March 26, 2005

For creating (and learning) regular expressions I find The Regulator to be a great help. The tool itself is free but it does have some rough edges:

  • It doesn't work when running as non-admin; this can be overcome by starting it with Run As, but this seems a bit much for the task that it is supposed to perform.
  • Today I ran into a different problem: for some reason it threw a System.TypeInitializationException when I tried to start it. After a quick google I found an entry that suggested reinstalling the entire thing. This also seemed a bit much; because there hadn't major changes to the configuration of my machine, I tried a more deductive approach: something had to have changed since I last ran it. The only files in the folder that had changed were the config-files. After removing the config-files, it automagically started working again.

Don't be fooled into thinking The Regulator isn't worth the effort: I've found it to be a valuable tool in developing and learning about regex. I especially like the interactive manor in which you can create an expression and test it. If you haven't used it, you should give it a try.

Archive
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2012
Alex Keizer
Sign In
Statistics
Total Posts: 86
This Year: 0
This Month: 0
This Week: 0
Comments: 71
Themes
Pick a theme:
All Content © 2012, Alex Keizer
DasBlog theme 'Business' created by Christoph De Baene (delarou)