/[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 91 by nigel, Sat Feb 24 21:41:34 2007 UTC revision 200 by ph10, Wed Aug 1 09:10:40 2007 UTC
# Line 6  Line 6 
6  and semantics are as close as possible to those of the Perl 5 language.  and semantics are as close as possible to those of the Perl 5 language.
7    
8                         Written by Philip Hazel                         Written by Philip Hazel
9             Copyright (c) 1997-2006 University of Cambridge             Copyright (c) 1997-2007 University of Cambridge
10    
11  -----------------------------------------------------------------------------  -----------------------------------------------------------------------------
12  Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
# Line 45  compilation of dftables.c, in which case Line 45  compilation of dftables.c, in which case
45    
46    
47  #ifndef DFTABLES  #ifndef DFTABLES
48  #include "pcre_internal.h"  #  ifdef HAVE_CONFIG_H
49    #  include <config.h>
50    #  endif
51    #  include "pcre_internal.h"
52  #endif  #endif
53    
54    
# Line 130  for (i = 0; i < 256; i++) Line 133  for (i = 0; i < 256; i++)
133    meta-character, which in this sense is any character that terminates a run    meta-character, which in this sense is any character that terminates a run
134    of data characters. */    of data characters. */
135    
136    if (strchr("*+?{^.$|()[", i) != 0) x += ctype_meta;    if (strchr("\\*+?{^.$|()[", i) != 0) x += ctype_meta;
137    *p++ = x;    *p++ = x;
138    }    }
139    

Legend:
Removed from v.91  
changed lines
  Added in v.200

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12