Regexp: named captures

On Aug 20, 2007, at 6:10 PM, Phrogz wrote:

What do you mean by “change the syntax”?

I mean change the basic regexp syntax.

For example, Oniguruma supports named captures (per this thread) and
zero-width negative lookbehind assertions, and … more.

Certainly the syntax is different for new features, which cause the
current regexp engine to barf. Do you mean syntax inside the regex? Or
the syntax for declaring a regex? Or are you interested only in
backwards compatibility?

So yea, just backwards compatibility.

Is Oniguruma behind a new class Oniguruma.new or behind Regexp.new

Sorry, but I can’t seem to find much documentation on it.

Ari
-------------------------------------------|
Nietzsche is my copilot