/[pcre]/code/trunk/pcre_maketables.c
ViewVC logotype

Diff of /code/trunk/pcre_maketables.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1364 by ph10, Sat Oct 5 15:45:11 2013 UTC revision 1404 by ph10, Tue Nov 19 15:36:57 2013 UTC
# Line 98  for (i = 0; i < 256; i++) *p++ = tolower Line 98  for (i = 0; i < 256; i++) *p++ = tolower
98  for (i = 0; i < 256; i++) *p++ = islower(i)? toupper(i) : tolower(i);  for (i = 0; i < 256; i++) *p++ = islower(i)? toupper(i) : tolower(i);
99    
100  /* Then the character class tables. Don't try to be clever and save effort on  /* Then the character class tables. Don't try to be clever and save effort on
101  exclusive ones - in some locales things may be different.  exclusive ones - in some locales things may be different.
102    
103  Note that the table for "space" includes everything "isspace" gives, including  Note that the table for "space" includes everything "isspace" gives, including
104  VT in the default locale. This makes it work for the POSIX class [:space:].  VT in the default locale. This makes it work for the POSIX class [:space:].
# Line 129  p += cbit_length; Line 129  p += cbit_length;
129    
130  /* Finally, the character type table. In this, we used to exclude VT from the  /* Finally, the character type table. In this, we used to exclude VT from the
131  white space chars, because Perl didn't recognize it as such for \s and for  white space chars, because Perl didn't recognize it as such for \s and for
132  comments within regexes. However, Perl changed at release 5.18, so PCRE changed  comments within regexes. However, Perl changed at release 5.18, so PCRE changed
133  at release 8.34. */  at release 8.34. */
134    
135  for (i = 0; i < 256; i++)  for (i = 0; i < 256; i++)

Legend:
Removed from v.1364  
changed lines
  Added in v.1404

  ViewVC Help
Powered by ViewVC 1.1.5