Re:Regex Golf
by Procrastes on Friday December 20, 2013 @05:58PM
(#6944686)
oops,
^(?!.*(.)(.)\2\1).*$
With proper formatting hopefully. ^(?!.*(.)(.)\2\1).*$
With proper formatting hopefully.
I went with:
^(?!.(.)(.)\2\1).$
with the thought that if I really wanted those matches I would want the whole strings.
Fun game!