Is it possible to emulate possessive quantifiers (.NET doesn’t support it) using atomic grouping (or in other way)?
Note. I found that (x+x+)++y
can be replaced with (?>(x+x+)+)y
, but this is just an example and I don’t know whether always {something}@+
equals to (?>{something}@)
(where @
is a quantifier).