Skip to content
Open
Show file tree
Hide file tree
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 @@ -1618,6 +1618,7 @@ public void setSupportJava6(boolean value) {
this.supportJava6 = value;
}

@Override
public String toRegularExpression(String pattern) {
return escapeText(pattern);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,11 @@ public void addHandlebarHelpers(Handlebars handlebars) {
handlebars.registerHelpers(ConditionalHelpers.class);
}

@Override
public String toRegularExpression(String pattern) {
return escapeText(pattern);
}

/**
* Provides a strongly typed declaration for simple arrays of some type and arrays of arrays of some type.
*
Expand Down