FreeMan wrote:
Hello,
Lazarus Revision 43315
TRegExpr class in "/opt/lazarus/components/synedit/synregexpr.pas"

I need check IP address, my IP4OK function for this. If I sent variable result is false, but sent parameter like '127.0.0.1' result is true, what is wrong?


EDT_IP: TMaskEdit;
......
EDT_IP.EditMask:= '!999.999.999.999;1; ';

I'd suggest checking /exactly/ what you're passing in the initial test case, i.e. make sure there's no leading spaces etc.

--
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
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to