summaryrefslogtreecommitdiff
path: root/lib/English.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/English.pm')
-rw-r--r--lib/English.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/English.pm b/lib/English.pm
index f6e3ec0021..f38c313beb 100644
--- a/lib/English.pm
+++ b/lib/English.pm
@@ -98,6 +98,8 @@ sub import {
*OSNAME
*LAST_REGEXP_CODE_RESULT
*EXCEPTIONS_BEING_CAUGHT
+ @LAST_MATCH_START
+ @LAST_MATCH_END
);
# The ground of all being. @ARG is deprecated (5.005 makes @_ lexical)
@@ -110,6 +112,8 @@ sub import {
*PREMATCH = *` ;
*POSTMATCH = *' ;
*LAST_PAREN_MATCH = *+ ;
+ *LAST_MATCH_START = *-{ARRAY} ;
+ *LAST_MATCH_END = *+{ARRAY} ;
# Input.