401
Regex flavors
(lemmy.world)
Post funny things about programming here! (Or just rant about your favourite programming language.)
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.
TIL thanks!