2005-06-07

The RegexLibrary Builder for .NET

I just found this article on The Code Project. One
of the coolest things is that you can add, remove, and modify regexes
from a compiled assembly, so you fix or replace regexes without having
to recompile the entire project. It makes use of the CompileToAssembly
method in the System.Text.RegularExpressions namespace.


==================
Here is a link to the article by Brian Delahunty:
http://www.codeproject.com/useritems/regexlibbuilder.asp


The RegexLibrary builder allows you to:


Create CLS compliant Regular Expression Libraries - .NET assemblies
that contain only regular expressions
Add multiple regular expressions to a single assembly
Define individual names, namespaces, regex modifiers, and accessibility
levels on a per regex basis
Reload existing Regular Expression Libraries and add, remove, or modify
regular expressions contained within
Manually set the version number of the assembly to help ensure
compatibility with existing versions
Much, much, more... ;-)


Here is a link to the author's (Brian Delahunty) blog posting on the
tool: http://briandela.com/blog/archive/2005/06/03/284.aspx

1 comment:

Brian Delahunty said...

Thanks for posting about the tool Josh.