summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-03-20 07:37:55 -0600
committerKarl Williamson <khw@cpan.org>2020-03-20 07:44:31 -0600
commita534eb5d131a5cd6a748c62c6eb1dd2a579b6e92 (patch)
tree553e9ed8a0b70956ef2b70f88be1341deffcbb4a /regcomp.c
parentcc06e157d785a514b8f825dccebf13aec98e7a27 (diff)
downloadperl-a534eb5d131a5cd6a748c62c6eb1dd2a579b6e92.tar.gz
regcomp.c: Update comments
The previous commit expanded the possible things in these variables
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regcomp.c b/regcomp.c
index 5c6ed3f975..bc89365807 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -18465,7 +18465,7 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth,
}
#endif
- /* Look at the longest folds first */
+ /* Look at the longest strings first */
for (cp_count = av_tindex_skip_len_mg(multi_char_matches);
cp_count > 0;
cp_count--)
@@ -18491,7 +18491,7 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth,
}
/* If the character class contains anything else besides these
- * multi-character folds, have to include it in recursive parsing */
+ * multi-character strings, have to include it in recursive parsing */
if (element_count) {
bool has_l_bracket = orig_parse > RExC_start && *(orig_parse - 1) == '[';