feat: allow bracketless '%' pattern definition (#2322)

This commit is contained in:
Jordan 2023-07-07 17:36:02 +01:00 committed by GitHub
parent f38c81aa2a
commit 6fbdef5252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,7 +117,7 @@ public class RichPatternParser extends FaweParser<Pattern> {
if (addBrackets) {
value += "[";
}
value += StringMan.join(entry.getValue(), " ");
value += StringMan.join(entry.getValue(), "][");
if (addBrackets) {
value += "]";
}