diff options
author | David Mitchell <davem@iabyn.com> | 2015-03-17 13:00:29 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2015-03-17 16:19:52 +0000 |
commit | 675e93ee6690903702e1998eb285f88dccc3a8ae (patch) | |
tree | 8797829dfeb60ae57c55dfa254f8c318867e17d0 /ext/re | |
parent | 236043b76bacad8509e6820bc1392100ca0fbe19 (diff) | |
download | perl-675e93ee6690903702e1998eb285f88dccc3a8ae.tar.gz |
re_intuit_start(): improve debugging output
1) make string offsets be consistently counted from strbeg, rather than
a mixture of that and strpos;
2) make it clearer when rx_origin has been updated, since that value
is the raison d'etre of intuit();
3) always show the input and output offsets when calling fbm_intr() from
intuit().
Diffstat (limited to 'ext/re')
-rw-r--r-- | ext/re/t/regop.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/re/t/regop.t b/ext/re/t/regop.t index 60e4c02e0d..f75e5413ff 100644 --- a/ext/re/t/regop.t +++ b/ext/re/t/regop.t @@ -96,8 +96,8 @@ TRIE-EXACT <BQ> matched empty string Match successful! -Found floating substr "Y" at offset 1... -Found anchored substr "X" at offset 0... +Found floating substr "Y" at offset 1 (rx_origin now 0)... +Found anchored substr "X" at offset 0 (rx_origin now 0)... Successfully guessed: match at offset 0 checking floating minlen 2 |