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 54e42a4 commit 88828b5Copy full SHA for 88828b5
src/main/java/org/perlonjava/regex/RuntimeRegex.java
@@ -93,7 +93,7 @@ public static RuntimeRegex compile(String patternString, String modifiers) {
93
// Compile the regex pattern
94
regex.pattern = Pattern.compile(javaPattern, regex.patternFlags);
95
} catch (Exception e) {
96
- if (GlobalVariable.getGlobalHash("main::ENV").elements.get("JPERL_UNIMPLEMENTED").toString().equals("warn")
+ if (GlobalVariable.getGlobalHash("main::ENV").get("JPERL_UNIMPLEMENTED").toString().equals("warn")
97
) {
98
// Temporarily warn instead of die, and return an invalid pattern so we can run Perl tests
99
WarnDie.warn(new RuntimeScalar("Regex compilation failed: " + e.getMessage()), new RuntimeScalar());
0 commit comments