Skip to content

Commit 88828b5

Browse files
committed
skip unimplemented regex features in t/re/pat_rt_report.t
1 parent 54e42a4 commit 88828b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/perlonjava/regex/RuntimeRegex.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public static RuntimeRegex compile(String patternString, String modifiers) {
9393
// Compile the regex pattern
9494
regex.pattern = Pattern.compile(javaPattern, regex.patternFlags);
9595
} catch (Exception e) {
96-
if (GlobalVariable.getGlobalHash("main::ENV").elements.get("JPERL_UNIMPLEMENTED").toString().equals("warn")
96+
if (GlobalVariable.getGlobalHash("main::ENV").get("JPERL_UNIMPLEMENTED").toString().equals("warn")
9797
) {
9898
// Temporarily warn instead of die, and return an invalid pattern so we can run Perl tests
9999
WarnDie.warn(new RuntimeScalar("Regex compilation failed: " + e.getMessage()), new RuntimeScalar());

0 commit comments

Comments
 (0)