dear
Currently i use RegExpr2
(http://z505.com/cgi-bin/qkcont/qkcont.cgi?p=Regexpr2) to perform regex
matching..
did SynRegExpr
(http://www.lazarus.freepascal.org/lcl_doc/SynRegExpr.html#link23852)
unit is better than RegExpr2 ?
How to use SynRegExpr unit ?
Currently my code to use RegExpr2 is
rgx:=tregexpr.create;
rgx.expression:='([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})';
rgx.ModifierI:=true;
if rgx.exec(datas) then begin
fip_server:=rgx.Match[1];
end;
is SynRegExpr working in the same way ???
best regards
--
David Touzeau -------------------------- Linux Ubuntu Dapper 6.0.6
FreePascal-Lazarus,perl,delphi,php icq:160018849
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal