Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ public void postProcessPattern(String pattern, Map<String, Object> vendorExtensi
+ "/pattern/modifiers convention. " + pattern + " is not valid.");
}

String regex = pattern.substring(1, i).replace("'", "\'");
String regex = pattern.substring(1, i).replace("'", "\'").replace("\"", "\"\"");
List<String> modifiers = new ArrayList<String>();

// perl requires an explicit modifier to be culture specific and .NET is the reverse.
Expand Down