Update the regex syntactic sugar.