Skip to content

Commit 6a6db37

Browse files
committed
docs
1 parent 27b93b0 commit 6a6db37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ protected boolean removeEldestEntry(Map.Entry<String, RuntimeRegex> eldest) {
3737
};
3838

3939
// Global matcher used for regex operations
40-
public static Matcher globalMatcher;
41-
public static String globalMatchString;
40+
public static Matcher globalMatcher; // Provides Perl regex variables like %+, %-
41+
public static String globalMatchString; // Provides Perl regex variables like $&
4242

4343
// Compiled regex pattern
4444
public Pattern pattern;

0 commit comments

Comments
 (0)