diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-10-13 19:53:53 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-10-13 20:44:11 -0600 |
commit | 6af864889434f3aedc5ff52cae277d1cbfa476d6 (patch) | |
tree | 2565728b4d081bbf39e35f24446864468929a21e | |
parent | 7b8a80699e4c6a8f740ccf2bc557dd61da67fe14 (diff) | |
download | perl-6af864889434f3aedc5ff52cae277d1cbfa476d6.tar.gz |
regexec.c: Add comments
-rw-r--r-- | regexec.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -6804,6 +6804,10 @@ S_reginclass(pTHX_ const regexp * const prog, register const regnode * const n, STATIC U8 * S_reghop3(U8 *s, I32 off, const U8* lim) { + /* return the position 'off' UTF-8 characters away from 's', forward if + * 'off' >= 0, backwards if negative. But don't go outside of position + * 'lim', which better be < s if off < 0 */ + dVAR; PERL_ARGS_ASSERT_REGHOP3; |