]>
git.saurik.com Git - wxWidgets.git/blob - src/stc/scintilla/include/PosRegExp.h
4 #define MatchesNum 0x10
18 ReNGRangeNM
, // {n,m}?
20 ReBehind
= 0x1100, // ?#n
21 ReNBehind
= 0x1200, // ?~n
22 ReAhead
= 0x1300, // ?=
23 ReNAhead
= 0x1400, // ?!
27 ReSymb
, // a b \W \s ...
31 ReBkTrace
= 0x2100, // \yN
32 ReBkBrack
= 0x2200 // \N
37 ReAnyChr
= 0x4000, // .
54 ReChr
= 0x0 // Char in Lower Byte
60 ReEnumS
, ReEnumE
, ReNEnumS
,
61 ReRangeS
, ReRangeE
, ReNGRangeE
, ReFrToEnum
64 #define BackSlash '\\'
66 typedef union SCharData
70 void SetBit(unsigned char Bit
);
71 void ClearBit(unsigned char Bit
);
72 bool GetBit(unsigned char Bit
);
75 typedef struct SRegInfo
91 typedef struct SMatches
98 typedef class PosRegExp
102 bool NoCase
,Extend
,NoMoves
;
110 bool SetExprLow(const char *Expr
);
111 bool SetStructs(PRegInfo
&Info
,int st
,int end
);
113 bool CheckSymb(int Symb
,bool Inc
);
114 bool LowParse(PRegInfo Re
);
115 bool LowParseRe(PRegInfo
&Next
);
116 bool LowCheckNext(PRegInfo Re
);
117 bool ParseRe(int posStr
);
124 char (*CharAt
)(int pos
, void *param
);
130 bool SetNoMoves(bool Moves
);
131 bool SetBkTrace(int posStr
,PMatches Trace
);
132 bool SetExpr(const char *Expr
);
133 bool Parse(int posStr
, int posStop
, PMatches Mtch
);
134 bool Parse(int posStr
,int posSol
, int posEol
, PMatches Mtch
, int Moves
= -1);
135 bool Evaluate(char *Expr
, int posStr
, PMatches Mtch
, char **Res
);
138 #endif /* POSREGEXP_H */