On Sat, Jan 16, 2010 at 2:32 AM, Oleg Kobchenko <oleg...@yahoo.com> wrote: > So maybe it makes sense to switch to native PCRE API in > jpcre DLL and enhance the corresponding verbs to allow offset, > which will improve the rxmatches (both cases) performance?
I imagine so. See also: http://unixpapa.com/incnote/regex.html That said, I have been reconsidering my original task, and I have come to the conclusion that regular expressions are not suited here. Consider, for example: aa|aaa If I need to get both matches, I do not think any regular expression library would give me both matches. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm