2 <h2>Class: TRegExpr</h2>
\r
8 <b>Description:</b><br>Clase auxiliar que implementa expresiones Regulares. Se ultiliza para validar los campos de texto
\r
9 <p><b>Unit:</b><br><a href=RegExpr.html>RegExpr</a>
\r
10 <a href=RegExpr.pas> <code>(RegExpr.pas)</code></a><br><br>
\r
11 <p><b>Constructors:</b><br>
\r
14 <img src=public.gif>
\r
15 <a href="TRegExpr.html#1">constructor Create;</a><br>
\r
20 <p><b>Properties:</b><br>
\r
23 <img src=public.gif>
\r
24 <a href="TRegExpr.html#0">property CompilerErrorPos : integer read GetCompilerErrorPos;</a><br>
\r
29 <img src=public.gif>
\r
30 <a href="TRegExpr.html#8">property Expression : RegExprString read GetExpression write SetExpression;</a><br>
\r
35 <img src=public.gif>
\r
36 <a href="TRegExpr.html#9">property InputString : RegExprString read GetInputString write SetInputString;</a><br>
\r
41 <img src=public.gif>
\r
42 <a href="TRegExpr.html#10">property InvertCase : TRegExprInvertCaseFunction read fInvertCase write fInvertCase; //##0.935</a><br>
\r
47 <img src=public.gif>
\r
48 <a href="TRegExpr.html#12">property Match [Idx : integer] : RegExprString read GetMatch;</a><br>
\r
53 <img src=public.gif>
\r
54 <a href="TRegExpr.html#13">property MatchLen [Idx : integer] : integer read GetMatchLen;</a><br>
\r
59 <img src=public.gif>
\r
60 <a href="TRegExpr.html#14">property MatchPos [Idx : integer] : integer read GetMatchPos;</a><br>
\r
65 <img src=public.gif>
\r
66 <a href="TRegExpr.html#15">property ModifierI : boolean index 1 read GetModifier write SetModifier;</a><br>
\r
71 <img src=public.gif>
\r
72 <a href="TRegExpr.html#16">property ModifierR : boolean index 2 read GetModifier write SetModifier;</a><br>
\r
77 <img src=public.gif>
\r
78 <a href="TRegExpr.html#17">property ModifierS : boolean index 3 read GetModifier write SetModifier;</a><br>
\r
83 <img src=public.gif>
\r
84 <a href="TRegExpr.html#18">property ModifierStr : RegExprString read GetModifierStr write SetModifierStr;</a><br>
\r
89 <img src=public.gif>
\r
90 <a href="TRegExpr.html#20">property SpaceChars : RegExprString read fSpaceChars write fSpaceChars; //###0.927</a><br>
\r
95 <img src=public.gif>
\r
96 <a href="TRegExpr.html#22">property SubExprMatchCount : integer read GetSubExprMatchCount;</a><br>
\r
101 <img src=public.gif>
\r
102 <a href="TRegExpr.html#24">property WordChars : RegExprString read fWordChars write fWordChars; //###0.929</a><br>
\r
107 <p><b>Methods:</b><br>
\r
110 <img src=public.gif>
\r
111 <a href="TRegExpr.html#2">destructor Destroy; override;</a><br>
\r
116 <img src=public.gif>
\r
117 <a href="TRegExpr.html#3">function Dump : RegExprString;</a><br>
\r
122 <img src=public.gif>
\r
123 <a href="TRegExpr.html#4">function ErrorMsg (AErrorID : integer) : RegExprString; virtual;</a><br>
\r
128 <img src=public.gif>
\r
129 <a href="TRegExpr.html#5">function Exec (const AInputString : RegExprString) : boolean;</a><br>
\r
134 <img src=public.gif>
\r
135 <a href="TRegExpr.html#6">function ExecNext : boolean;</a><br>
\r
140 <img src=public.gif>
\r
141 <a href="TRegExpr.html#7">function ExecPos (AOffset: integer {$IFDEF D4_}= 1{$ENDIF}) : boolean;</a><br>
\r
146 <img src=public.gif>
\r
147 <a href="TRegExpr.html#11">function LastError : integer;</a><br>
\r
152 <img src=public.gif>
\r
153 <a href="TRegExpr.html#19">function Replace (AInputStr : RegExprString; const AReplaceStr : RegExprString) : RegExprString;</a><br>
\r
158 <img src=public.gif>
\r
159 <a href="TRegExpr.html#21">procedure Split (AInputStr : RegExprString; APieces : TStrings);</a><br>
\r
164 <img src=public.gif>
\r
165 <a href="TRegExpr.html#23">function Substitute (const ATemplate : RegExprString) : RegExprString;</a><br>
\r
171 <p><img src=constructors.gif>
\r
172 <a name="1"></a><p>
\r
173 <img src=public_big.gif>
\r
174 <code>constructor Create;</code>
\r
178 <p><img src=property.gif>
\r
179 <a name="0"></a><p>
\r
180 <img src=public_big.gif>
\r
181 <code>property CompilerErrorPos : integer read GetCompilerErrorPos;</code>
\r
185 <a name="8"></a><p>
\r
186 <img src=public_big.gif>
\r
187 <code>property Expression : RegExprString read GetExpression write SetExpression;</code>
\r
191 <a name="9"></a><p>
\r
192 <img src=public_big.gif>
\r
193 <code>property InputString : RegExprString read GetInputString write SetInputString;</code>
\r
197 <a name="10"></a><p>
\r
198 <img src=public_big.gif>
\r
199 <code>property InvertCase : TRegExprInvertCaseFunction read fInvertCase write fInvertCase; //##0.935</code>
\r
203 <a name="12"></a><p>
\r
204 <img src=public_big.gif>
\r
205 <code>property Match [Idx : integer] : RegExprString read GetMatch;</code>
\r
209 <a name="13"></a><p>
\r
210 <img src=public_big.gif>
\r
211 <code>property MatchLen [Idx : integer] : integer read GetMatchLen;</code>
\r
215 <a name="14"></a><p>
\r
216 <img src=public_big.gif>
\r
217 <code>property MatchPos [Idx : integer] : integer read GetMatchPos;</code>
\r
221 <a name="15"></a><p>
\r
222 <img src=public_big.gif>
\r
223 <code>property ModifierI : boolean index 1 read GetModifier write SetModifier;</code>
\r
227 <a name="16"></a><p>
\r
228 <img src=public_big.gif>
\r
229 <code>property ModifierR : boolean index 2 read GetModifier write SetModifier;</code>
\r
233 <a name="17"></a><p>
\r
234 <img src=public_big.gif>
\r
235 <code>property ModifierS : boolean index 3 read GetModifier write SetModifier;</code>
\r
239 <a name="18"></a><p>
\r
240 <img src=public_big.gif>
\r
241 <code>property ModifierStr : RegExprString read GetModifierStr write SetModifierStr;</code>
\r
245 <a name="20"></a><p>
\r
246 <img src=public_big.gif>
\r
247 <code>property SpaceChars : RegExprString read fSpaceChars write fSpaceChars; //###0.927</code>
\r
251 <a name="22"></a><p>
\r
252 <img src=public_big.gif>
\r
253 <code>property SubExprMatchCount : integer read GetSubExprMatchCount;</code>
\r
257 <a name="24"></a><p>
\r
258 <img src=public_big.gif>
\r
259 <code>property WordChars : RegExprString read fWordChars write fWordChars; //###0.929</code>
\r
263 <p><img src=methods.gif>
\r
264 <a name="2"></a><p>
\r
265 <img src=public_big.gif>
\r
266 <code>destructor Destroy; override;</code>
\r
270 <a name="3"></a><p>
\r
271 <img src=public_big.gif>
\r
272 <code>function Dump : RegExprString;</code>
\r
276 <a name="4"></a><p>
\r
277 <img src=public_big.gif>
\r
278 <code>function ErrorMsg (AErrorID : integer) : RegExprString; virtual;</code>
\r
282 <a name="5"></a><p>
\r
283 <img src=public_big.gif>
\r
284 <code>function Exec (const AInputString : RegExprString) : boolean;</code>
\r
288 <a name="6"></a><p>
\r
289 <img src=public_big.gif>
\r
290 <code>function ExecNext : boolean;</code>
\r
294 <a name="7"></a><p>
\r
295 <img src=public_big.gif>
\r
296 <code>function ExecPos (AOffset: integer {$IFDEF D4_}= 1{$ENDIF}) : boolean;</code>
\r
300 <a name="11"></a><p>
\r
301 <img src=public_big.gif>
\r
302 <code>function LastError : integer;</code>
\r
306 <a name="19"></a><p>
\r
307 <img src=public_big.gif>
\r
308 <code>function Replace (AInputStr : RegExprString; const AReplaceStr : RegExprString) : RegExprString;</code>
\r
312 <a name="21"></a><p>
\r
313 <img src=public_big.gif>
\r
314 <code>procedure Split (AInputStr : RegExprString; APieces : TStrings);</code>
\r
318 <a name="23"></a><p>
\r
319 <img src=public_big.gif>
\r
320 <code>function Substitute (const ATemplate : RegExprString) : RegExprString;</code>
\r