mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-16 17:34:52 -06:00
limited name length to limit user input causing slow regex run, Removed starting boundary delimiter
This commit is contained in:
parent
7b6decb90a
commit
78ddf05970
@ -61,7 +61,7 @@ public class CompatibilityFixups {
|
||||
private static final String COMPUTE = "compute_";
|
||||
private static final String INTERPOLATE = "interpolate_";
|
||||
|
||||
private final static Pattern oldcurve = Pattern.compile("(?<name>\\b[\\w_]+)(?<lparen>\\()(?<args>.*?)(?<rparen>\\))");
|
||||
private final static Pattern oldcurve = Pattern.compile("(?<name>[\\w_]+)(?<lparen>\\()(?<args>.*?)(?<rparen>\\))");
|
||||
|
||||
private final static CompatibilityFixups instance = new CompatibilityFixups();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user