summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-09-14 18:57:26 -0600
committerKarl Williamson <public@khwilliamson.com>2013-09-24 11:36:14 -0600
commitad0bc4e4203ace473d269da5dc13fa67b3b07cac (patch)
treee8278afeac9f6d98adfc3f93f9d5793cb3d0d4ef
parente867ce454085c3d923d5d0c0a1fb280e28e878ad (diff)
downloadperl-ad0bc4e4203ace473d269da5dc13fa67b3b07cac.tar.gz
regcomp.c: Clarify comment
This continues the process of removing some overloading of the word 'class', by changing this comment to use 'bracketed class', and re-wrapping
-rw-r--r--regcomp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/regcomp.c b/regcomp.c
index 87499f2aab..3838904859 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -12745,12 +12745,12 @@ parseit:
/* What matches in a locale is not known until runtime. This includes
* what the Posix classes (like \w, [:space:]) match. Room must be
- * reserved (one time per class) to store such classes, either if Perl
- * is compiled so that locale nodes always should have this space, or
- * if there is such class info to be stored. The space will contain a
- * bit for each named class that is to be matched against. This isn't
- * needed for \p{} and pseudo-classes, as they are not affected by
- * locale, and hence are dealt with separately */
+ * reserved (one time per outer bracketed class) to store such classes,
+ * either if Perl is compiled so that locale nodes always should have
+ * this space, or if there is such posix class info to be stored. The
+ * space will contain a bit for each named class that is to be matched
+ * against. This isn't needed for \p{} and pseudo-classes, as they are
+ * not affected by locale, and hence are dealt with separately */
if (LOC
&& ! need_class
&& (ANYOF_LOCALE == ANYOF_CLASS