[Mono-devel-list] ILBased Regex Engine

Ben Maurer bmaurer at users.sourceforge.net
Fri Jan 16 00:13:31 EST 2004

On Thu, 2004-01-15 at 23:27, Francois Beauchemin wrote:
> >I do not believe that you have to be able to save Regexs to disk.  These
> >regexes are generated in memory and executed in memory.
> >  
> >
> Sorry Miguel but it is possible, maybe you misunderstood me.. 
> System.Text.RegularExpression.Regex as a methode called Compile to 
> assembly ( not implemented yet in Mono , we will do it ) which can save 
> the compiled regex into an assembly in memory. Then you can save it to 
> disk with System.Reflection classes . I dont have the code but Eric had 
> done a small test program which produce an DLL containing an compiled 
> regex when runned on .NET.

System.Web has a helper DLL that holds regex's it uses under the MS
framework. It was probably generated this way.

-- ben

More information about the Mono-devel-list mailing list