Skip to content

Commit 988b903

Browse files
author
Karl Williamson
committed
regcomp.c: Add comment
1 parent 2a79fb6 commit 988b903

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

regcomp.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12819,8 +12819,12 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth,
1281912819
STRLEN initial_listsv_len = 0; /* Kind of a kludge to see if it is more
1282012820
than just initialized. */
1282112821
SV* properties = NULL; /* Code points that match \p{} \P{} */
12822-
SV* posixes = NULL; /* Code points that match classes like, [:word:],
12823-
extended beyond the Latin1 range */
12822+
SV* posixes = NULL; /* Code points that match classes like [:word:],
12823+
extended beyond the Latin1 range. These have to
12824+
be kept separate from other code points for much
12825+
of this function because their handling is
12826+
different under /i, and for most classes under
12827+
/d as well */
1282412828
UV element_count = 0; /* Number of distinct elements in the class.
1282512829
Optimizations may be possible if this is tiny */
1282612830
AV * multi_char_matches = NULL; /* Code points that fold to more than one

0 commit comments

Comments
 (0)