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

Diff of /code/trunk/pcre_ucp_searchfuncs.c

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

revision 97 by ph10, Mon Mar 5 12:36:47 2007 UTC revision 351 by ph10, Fri Jul 4 18:27:16 2008 UTC
# Line 1  Line 1 
1    ############################################################
2    ############################################################
3    ## As of PCRE 8.0 this file is OBSOLETE. A different way  ##
4    ## of handling Unicode property data is now used. See the ##
5    ## maint/README document.                                 ##
6    ## PH 02 July 2008                                        ##
7    ############################################################
8    ############################################################
9    
10  /*************************************************  /*************************************************
11  *      Perl-Compatible Regular Expressions       *  *      Perl-Compatible Regular Expressions       *
12  *************************************************/  *************************************************/
# Line 6  Line 15 
15  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.
16    
17                         Written by Philip Hazel                         Written by Philip Hazel
18             Copyright (c) 1997-2006 University of Cambridge             Copyright (c) 1997-2008 University of Cambridge
19    
20  -----------------------------------------------------------------------------  -----------------------------------------------------------------------------
21  Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
# Line 41  POSSIBILITY OF SUCH DAMAGE. Line 50  POSSIBILITY OF SUCH DAMAGE.
50  /* This module contains code for searching the table of Unicode character  /* This module contains code for searching the table of Unicode character
51  properties. */  properties. */
52    
53    #ifdef HAVE_CONFIG_H
54    #include "config.h"
55    #endif
56    
57  #include "pcre_internal.h"  #include "pcre_internal.h"
58    
59  #include "ucp.h"               /* Category definitions */  #include "ucp.h"               /* Category definitions */
# Line 50  properties. */ Line 63  properties. */
63    
64  /* Table to translate from particular type value to the general value. */  /* Table to translate from particular type value to the general value. */
65    
66  static int ucp_gentype[] = {  static const int ucp_gentype[] = {
67    ucp_C, ucp_C, ucp_C, ucp_C, ucp_C,  /* Cc, Cf, Cn, Co, Cs */    ucp_C, ucp_C, ucp_C, ucp_C, ucp_C,  /* Cc, Cf, Cn, Co, Cs */
68    ucp_L, ucp_L, ucp_L, ucp_L, ucp_L,  /* Ll, Lu, Lm, Lo, Lt */    ucp_L, ucp_L, ucp_L, ucp_L, ucp_L,  /* Ll, Lu, Lm, Lo, Lt */
69    ucp_M, ucp_M, ucp_M,                /* Mc, Me, Mn */    ucp_M, ucp_M, ucp_M,                /* Mc, Me, Mn */

Legend:
Removed from v.97  
changed lines
  Added in v.351

  ViewVC Help
Powered by ViewVC 1.1.5