On Mon, 8 Jun 2020, at 12:39, Rick McGuire wrote:
> My incubator version has named captures, and also has a new feature 
> I've not seen other regex packages, reusable named patterns. For 
> example, one of the standard patterns is a URL: pattern that has named 
> elements like protocol, port, domain name, etc. Rather than having to 
> copy and paste one of these patterns into your own, you can refer to 
> them by name. I'm a bit stalled on the design of user pattern libraries 
> at the moment, but this is a very powerful concept. 

That /does/ sound very useful.

Apart from that, does your version support pre-compilation of regexes?

Regex support I've used elsewhere has allowed that, so that eg a regex 
used in a loop can be compiled/prepared once then that internal form is
used each time the programmer wants it executed.

I suppose it depends on how the back-end regex support is written whether
or not that produces any kind of advantage. 

-- 
Jeremy Nicoll - my opinions are my own.


_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to