Saturday, July 27, 2024
HomeGolangModified conduct of regexp.Compile in go1.22 - Getting Assist

Modified conduct of regexp.Compile in go1.22 – Getting Assist


It appears to be like just like the conduct of has modified in go1.22 in comparison with go1.21.

This creates an error Go Playground – The Go Programming Language (1.21) whereas this doesn’t anymore Go Playground – The Go Programming Language (1.22).

Is that this supposed?

Assist for the (?<identify>) syntax for capturing teams was added in 1.22. See this subject remark, regexp: Documentation does not point out that (?<identify>…) capturing group syntax is not at present supported · Situation #64108 · golang/go · GitHub.

Nevertheless for some motive it doesn’t seem like talked about within the 1.22 launch notes. Go 1.22 Launch Notes – The Go Programming Language



1 Like

Thanks for the ref. That’s what I used to be searching for.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments