1
Vote

regular expression: nested group matching

description

any idea when iron ruby will fully support oniguruma regex (in this case: nested group matching) ?
e. g. stupid example IP-Address-match ... would be quicker the standard way, but its just to show what i mean. This works in ruby
"123.0.0.1­".match( /(?<byte>2[0-4]\d|2­5[0-5]|[01­]?\d\d?){0­}(?<one>\g<byte>)(?:.(?<two>\g<byte>))(?:.(?<three>\g<byte>))(?:.(?<four>\g<byte>))/)

comments