Fixed possible wrong/failed match due to unescaped regex