changed default regex behavior