silvioprog wrote:
Hi,
The correct way to use RegEx is like I'm showing below? (I saw this
code in bugtracker)
regex1 := TRegExpr.Create;
regex1.Expression := pattern1;
with regex1 do begin
if Exec(test1) then begin
WriteLn('match');
end else
WriteLn('no match');
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus