• 2 Posts
  • 2 Comments
Joined 6M ago
cake
Cake day: May 09, 2024

help-circle
rss

You can use backreferences \1 \2 etc. but you can also give them names explicitly.
it looks like this: (?<name>inner-regex)
Some flavors support it, kotlins doesn’t apparently.


I don’t actually know whether POSIX grep would support named groups :o