Skip to content

Commit

Permalink
Fix regex to properly get user regex
Browse files Browse the repository at this point in the history
  • Loading branch information
KostasTsiounis committed Jan 14, 2025
1 parent 1565dd7 commit 0b04efa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1496,7 +1496,7 @@ private void setConstraints(String providerName, String providerInfo, boolean pr
final String typeRE = "\\w+";
final String algoRE = "[A-Za-z0-9./_-]+";
final String attrRE = "[A-Za-z0-9=*|.:]+";
final String consRE = "\\{(" + typeRE + "),(" + algoRE + "),(" + attrRE + ")(,\\S+)*?\\}";
final String consRE = "\\{(" + typeRE + "),(" + algoRE + "),(" + attrRE + ")(,.+?)*\\}";
p = Pattern.compile(
"\\["
+ "([+-]?)" // option to append or remove
Expand Down

0 comments on commit 0b04efa

Please sign in to comment.