Fix regex to resolve issue described in Matasano