2011/12/22 Mark Morgan Lloyd <markmll.laza...@telemetry.co.uk>: > 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
I can not use the LCL. -- Silvio Clécio ==================================== Site - <silvioprog.com.br> LazSolutions - <code.google.com/p/lazsolutions> ==================================== -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus