Closed asottile closed 4 years ago
(?<=1|23) can be transformed into (?:(?<=1)|(?<=23))
(?<=1|23)
(?:(?<=1)|(?<=23))
here's another example: (?<!\\w|-|[^\\)]\\.)
(?<!\\w|-|[^\\)]\\.)
I think this one can be transformed into (?<!\\w)(?<!-)(?<![^\\)]\\.)
(?<!\\w)(?<!-)(?<![^\\)]\\.)
via ad5640d8a17d69d7807bc158cf298f3428010829
(?<=1|23)
can be transformed into(?:(?<=1)|(?<=23))