Retrieving named captures with $regml() - 30/11/16 06:10 PM
Not sure why there is no support for this but PCRE allows for named capturing group which can be retrieved easily with the lib, I would like to see support for this.
Named captures in PCRE cannot start with a digit.
Code:
//noop $regex(myreg,let's capture,/(?<named>capture)/) | echo -a > $regml(myreg,named)
Quote:
> capture
Named captures in PCRE cannot start with a digit.