Permalink
Browse files

regex: Add comments

  • Loading branch information...
1 parent 5473c57 commit dddecdc7da8164c7ee5732195847b5ee1cfb9e36 Karl Williamson committed May 9, 2011
Showing with 6 additions and 5 deletions.
  1. +1 −1 regcharclass.h
  2. +4 −3 regcomp.c
  3. +1 −1 regen/regcharclass.pl
View
@@ -359,7 +359,7 @@
0x2029 == cp ) ) ) ) ) )
/*
- TRICKYFOLD: Problematic fold case letters.
+ TRICKYFOLD: Problematic fold case letters. When adding to this list, also should add them to regcomp.c and fold_grind.t
0x00DF # LATIN SMALL LETTER SHARP S
0x0390 # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
View
@@ -8872,13 +8872,14 @@ S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth)
break;
/* These are the tricky fold characters. Flush any
- * buffer first. */
+ * buffer first. (When adding to this list, also should
+ * add them to fold_grind.t to make sure get tested) */
case GREEK_SMALL_LETTER_UPSILON_WITH_DIALYTIKA_AND_TONOS:
case GREEK_SMALL_LETTER_IOTA_WITH_DIALYTIKA_AND_TONOS:
case LATIN_SMALL_LETTER_SHARP_S:
case LATIN_CAPITAL_LETTER_SHARP_S:
- case 0x1FD3:
- case 0x1FE3:
+ case 0x1FD3: /* GREEK SMALL LETTER IOTA WITH DIALYTIKA AND OXIA */
+ case 0x1FE3: /* GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND OXIA */
if (len != 0) {
p = oldp;
goto loopdone;
View
@@ -729,7 +729,7 @@ sub make_macro {
0x2029 # PARAGRAPH SEPARATOR
-TRICKYFOLD: Problematic fold case letters.
+TRICKYFOLD: Problematic fold case letters. When adding to this list, also should add them to regcomp.c and fold_grind.t
=> generic cp generic-cp generic-both :fast safe
0x00DF # LATIN SMALL LETTER SHARP S
0x0390 # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS

0 comments on commit dddecdc

Please sign in to comment.