News for hackers. Stuff that matters.
Re:Regex Golf by surreal on Friday December 20, 2013 @11:50AM (#6942319)
Remember

  (?!....) 
is a lookaround, so it matches 0 characters. So

  ^(?!....)$ 
will only match an empty string! (Think about it). Try

  ^(?!....$) 
instead (the $ anchor inside the lookaround)

There are no comments on this comment yet.