Project

General

Profile

« Previous | Next » 

Revision 2677

Added by stephane over 13 years ago

PCRE
- change : flags
- add binary to Linux version

View differences:

scol_glib_pregex.h
48 48
#define DEFAULT_STRING   "Untitle"
49 49

  
50 50

  
51
#define PCRE_MATCH_STANDARD     1
52
#define PCRE_MATCH_DFA          2
51
#define MATCH_STANDARD     1
52
#define MATCH_DFA          2
53 53

  
54
#define PCRE_MATCH_ANCHORED       1<<4
55
#define PCRE_MATCH_NOTBOL         1<<7
56
#define PCRE_MATCH_NOTEOL         1<<8
57
#define PCRE_MATCH_NOTEMPTY       1<<10
58
#define PCRE_MATCH_PARTIAL        1<<15
59
#define PCRE_MATCH_NEWLINE_CR     1<<20
60
#define PCRE_MATCH_NEWLINE_LF     1<<21
61
#define PCRE_MATCH_NEWLINE_CRLF   PCRE_MATCH_NEWLINE_CR | PCRE_MATCH_NEWLINE_LF
62
#define PCRE_MATCH_NEWLINE_ANY    1<<22
54
#define MATCH_ANCHORED       1<<4
55
#define MATCH_NOTBOL         1<<7
56
#define MATCH_NOTEOL         1<<8
57
#define MATCH_NOTEMPTY       1<<10
58
#define MATCH_PARTIAL        1<<15
59
#define MATCH_NEWLINE_CR     1<<20
60
#define MATCH_NEWLINE_LF     1<<21
61
#define MATCH_NEWLINE_CRLF   MATCH_NEWLINE_CR | MATCH_NEWLINE_LF
62
#define MATCH_NEWLINE_ANY    1<<22
63 63

  
64
#define PCRE_REGEX_CASELESS          1 << 0
65
#define PCRE_REGEX_MULTILINE         1 << 1
66
#define PCRE_REGEX_DOTALL            1 << 2
67
#define PCRE_REGEX_EXTENDED          1 << 3
68
#define PCRE_REGEX_ANCHORED          1 << 4
69
#define PCRE_REGEX_DOLLAR_ENDONLY    1 << 5
70
#define PCRE_REGEX_UNGREEDY          1 << 9
71
#define PCRE_REGEX_RAW               1 << 11
72
#define PCRE_REGEX_NO_AUTO_CAPTURE   1 << 12
73
#define PCRE_REGEX_OPTIMIZE          1 << 13
74
#define PCRE_REGEX_DUPNAMES          1 << 19
75
#define PCRE_REGEX_NEWLINE_CR        1 << 20
76
#define PCRE_REGEX_NEWLINE_LF        1 << 21
77
#define PCRE_REGEX_NEWLINE_CRLF      PCRE_REGEX_NEWLINE_CR | PCRE_REGEX_NEWLINE_LF
64
#define REGEX_CASELESS          1 << 0
65
#define REGEX_MULTILINE         1 << 1
66
#define REGEX_DOTALL            1 << 2
67
#define REGEX_EXTENDED          1 << 3
68
#define REGEX_ANCHORED          1 << 4
69
#define REGEX_DOLLAR_ENDONLY    1 << 5
70
#define REGEX_UNGREEDY          1 << 9
71
#define REGEX_RAW               1 << 11
72
#define REGEX_NO_AUTO_CAPTURE   1 << 12
73
#define REGEX_OPTIMIZE          1 << 13
74
#define REGEX_DUPNAMES          1 << 19
75
#define REGEX_NEWLINE_CR        1 << 20
76
#define REGEX_NEWLINE_LF        1 << 21
77
#define REGEX_NEWLINE_CRLF      REGEX_NEWLINE_CR | REGEX_NEWLINE_LF
78 78

  
79 79

  
80 80

  

Also available in: Unified diff