diff options
author | Johan Vromans <jvromans@squirrel.nl> | 2002-06-09 15:12:43 +0200 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-06-09 15:11:13 +0000 |
commit | 77ea4f6d93da91f08d36b99d2fc1b3f43e33aab0 (patch) | |
tree | 874de4175c05ad13bf76ab63701aff8dd5a5526b /lib/English.pm | |
parent | 0f1f432106978ae5935b254430dd7045c4e76d3d (diff) | |
download | perl-77ea4f6d93da91f08d36b99d2fc1b3f43e33aab0.tar.gz |
[Patch] $^N issues
Message-ID: <15619.14379.888034.910020@phoenix.squirrel.nl>
p4raw-id: //depot/perl@17131
Diffstat (limited to 'lib/English.pm')
-rw-r--r-- | lib/English.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/English.pm b/lib/English.pm index 538336877d..05dd05c4f9 100644 --- a/lib/English.pm +++ b/lib/English.pm @@ -124,6 +124,7 @@ sub import { *OSNAME *LAST_REGEXP_CODE_RESULT *EXCEPTIONS_BEING_CAUGHT + *LAST_SUBMATCH_RESULT @LAST_MATCH_START @LAST_MATCH_END ); @@ -144,6 +145,7 @@ sub import { # Matching. *LAST_PAREN_MATCH = \$+ ; + *LAST_SUBMATCH_RESULT = \$^N ; *LAST_MATCH_START = \@- ; *LAST_MATCH_END = \@+ ; |