fix to RegExp for 2.1.1