> If it were easy to implement all java regex features in
> dk.brics.automaton.RegExp, then they probably would have.  Alternately,
> if they'd implemented all java regex features, it probably wouldn't be
> so fast.  So I worry that attempts to translate are doomed.  Better to
> accept the differences: if you want the speed, you must use restricted
> regexes.

That's right. It is a deterministic API => more speed, but less
functionality.


> 3. Add new plugins that use dk.brics.automaton.RegExp, using different
> default regex file names.  Then folks can, if they choose, configure
> things to use these faster regex libraries, but only if they're willing
> to write the simpler regexes that it supports.  If, over time, we find
> that the most useful regexes are easily converted, then we could switch
> the default to this.

+1
I will doing it this way.
Thanks Doug.

Jérôme

--
http://motrech.free.fr/
http://www.frutch.org/

Reply via email to