Re:Generate Regex from Examples
by logn on Saturday July 25, 2015 @12:40PM
(#9948111)
"Possessive quantifiers are a way to prevent the regex engine from trying all permutations. This is primarily useful for performance reasons. You can also use possessive quantifiers to eliminate certain matches."
http://www.regular-expressions.info/possessive.html