diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-09-11 04:45:56 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-09-11 04:45:56 +0000 |
commit | 090f71652b598badef32b379c0f36c2c6e4a9542 (patch) | |
tree | 75faa8735bc09e8bc1dfa2ef0d500735565a4a31 /regcomp.c | |
parent | 9bcb75adede2a39cb8240247959be87308b46bee (diff) | |
download | perl-090f71652b598badef32b379c0f36c2c6e4a9542.tar.gz |
Replace #21158 with a better patch from Hugo
(for [perl #23769]).
p4raw-id: //depot/perl@21174
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3310,7 +3310,7 @@ tryagain: } if (len > 0) *flagp |= HASWIDTH; - if (len == 1) + if (len == 1 && UNI_IS_INVARIANT(ender)) *flagp |= SIMPLE; if (!SIZE_ONLY) STR_LEN(ret) = len; |