diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-01-08 02:13:53 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-01-08 02:13:53 +0000 |
commit | 832705d49ab18eb2b35edbacb1510b214b5a22f5 (patch) | |
tree | cb77ede49f3bfd5f8091b38579c941bd3159ca7f /regexec.c | |
parent | 93deb89398a017c04e6e35182b4aa67d75f172d0 (diff) | |
download | perl-832705d49ab18eb2b35edbacb1510b214b5a22f5.tar.gz |
A little better comments.
p4raw-id: //depot/perl@14130
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -4176,7 +4176,13 @@ Perl_regclass_swash(pTHX_ register regnode* node, bool doinit, SV** listsvp, SV } /* - - reginclass - determine if a character falls into a character class + - reginclasslen - determine if a character falls into a character class + + The n is the ANYOF regnode, the p is the target string, lenp + is pointer to the maximum length of how far to go in the p + (if the lenp is zero, UTF8SKIP(p) is used), + do_utf8 tells whether the target string is in UTF-8. + */ STATIC bool @@ -4301,6 +4307,14 @@ S_reginclasslen(pTHX_ register regnode *n, register U8* p, STRLEN* lenp, registe return (flags & ANYOF_INVERT) ? !match : match; } +/* + - reginclass - determine if a character falls into a character class + + The n is the ANYOF regnode, the p is the target string, do_utf8 tells + whether the target string is in UTF-8. + + */ + STATIC bool S_reginclass(pTHX_ register regnode *n, register U8* p, register bool do_utf8) { |