We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28ef832 commit 67f0f00Copy full SHA for 67f0f00
src/main/java/org/perlonjava/runtime/RuntimeRegex.java
@@ -105,7 +105,7 @@ private static String replaceNamedCharacters(String pattern) {
105
// Compile a regex pattern to find \N{name} constructs
106
Pattern namedCharPattern = Pattern.compile("\\\\N\\{([^}]+)\\}");
107
Matcher matcher = namedCharPattern.matcher(pattern);
108
- StringBuffer result = new StringBuffer();
+ StringBuilder result = new StringBuilder();
109
110
while (matcher.find()) {
111
String name = matcher.group(1);
0 commit comments