Open filippog opened 3 years ago
Internally the regexp engine assigns capture groups with a number regardless of if they have a name or not. mtail
should do a better job of noticing the dual assignment and not complaining about the numeric capture group references.
Hello, I have noticed
checker.go
using integers to reference unused capture groups (together with the expected names). I can't quite understand why since AFAICS all capture groups are named with strings, this is the program I'm testing:And rc47 shows this output:
Specifically capture groups
8
/10
/11
Thank you !