I think that's a great idea. We can take the opportunity to make some of the
bugfixes that have been posted in the last week or so.
-----Original Message-----
From: Michael McCallum [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 4:20 PM
To: [EMAIL PROTECTED]
Subject: [Proposal] OO approach to the regexp.
Sorry am a bit quiet at the moment.
Having to work long hours at the moment.
should be back into it 2nd week april.
The code of the RE stuff seems to procedural for my tastes.
I propose a more OO approach.
So instead of having a program that is made of an array of character nodes
use java objects
instead.
This allows for one to instantiate re compilers/matchers from a factory with
varying functionality.
Im not sure what the overhead would be like but I am thinking that most of
it would be in the
compiling. Plus is will probably be a little larger. But on the whole the re
programs are not very
large.
Any comments.