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

Diff of /code/trunk/pcre_info.c

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

revision 359 by ph10, Wed Jul 9 16:20:19 2008 UTC revision 389 by ph10, Sun Mar 15 18:24:05 2009 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-2008 University of Cambridge             Copyright (c) 1997-2009 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 83  if (re->magic_number != MAGIC_NUMBER) Line 83  if (re->magic_number != MAGIC_NUMBER)
83    re = _pcre_try_flipped(re, &internal_re, NULL, NULL);    re = _pcre_try_flipped(re, &internal_re, NULL, NULL);
84    if (re == NULL) return PCRE_ERROR_BADMAGIC;    if (re == NULL) return PCRE_ERROR_BADMAGIC;
85    }    }
86  if (optptr != NULL) *optptr = (int)(re->options & PUBLIC_OPTIONS);  if (optptr != NULL) *optptr = (int)(re->options & PUBLIC_COMPILE_OPTIONS);
87  if (first_byte != NULL)  if (first_byte != NULL)
88    *first_byte = ((re->flags & PCRE_FIRSTSET) != 0)? re->first_byte :    *first_byte = ((re->flags & PCRE_FIRSTSET) != 0)? re->first_byte :
89       ((re->flags & PCRE_STARTLINE) != 0)? -1 : -2;       ((re->flags & PCRE_STARTLINE) != 0)? -1 : -2;

Legend:
Removed from v.359  
changed lines
  Added in v.389

  ViewVC Help
Powered by ViewVC 1.1.5