[Mono-list] System.Text.RegularExpressions

Daniel Lewis dihlewis@yahoo.co.uk
Wed, 30 Jan 2002 00:29:55 +0000 (GMT)


> This is wonderful news!

Thanks! Nice to know it was worth it.

> Will that work even if the user of the regex engine won't have the
> permission to use Reflection.Emit?

Hmmm... I never really thought about that. I don't know a lot about the
security architecture, could you give me an example of how to turn off this
permission? I'll test it against the MS implementation first, but my guess is
that CIL compilation won't work in this case, and you'll have to resort to the
default (interpreted) behaviour.

I've put hooks into the code to support CIL compilation, but I'm not going to
make a full go at it until I feel a little more confident about my interpreter.
Changes to the pattern bytecode or adding new optimizations would otherwise
require double the effort.

> Did you try running it with mono (the jit or the interp)?
> I can help fixing bugs that may show up with our runtime implementation.

Not yet. I developed this outside of the mono CVS structure, in my own
RegularExpressions namespace, using the MS compiler and runtime. I've just
finished moving the code into the System assembly under mcs/class, and porting
the tests to NUnit. It compiles, and I'm just now trying to figure out how to
run the tests. So I'll let you know!

> I guess that if you send your public ssh keys to miguel, he'll setup up
> a cvs account for you ASAP :-)

Ok. Miguel's done that.

Thanks,
  Dan.


__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com