For this expression
\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b
eclipse says: invalid escape sequence

2010/3/2 Martijn Dashorst <[email protected]>:
> Why do you want to use a UrlValidator? An ip-address is not a URL?
> Maybe a pattern validator with
> http://www.regular-expressions.info/regexbuddy/ipaccurate.html would
> be better?
>
> Martijn
>
> On Tue, Mar 2, 2010 at 4:09 PM, Ivan Dudko <[email protected]> wrote:
>> Hello!
>>
>> I can't understand how can i validate ip address (e.g. 192.168.0.238)
>> using UrlValidator.
>>
>> Thank you for help.
>> Ivan Dudko
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
>
>
> --
> Become a Wicket expert, learn from the best: http://wicketinaction.com
> Apache Wicket 1.4 increases type safety for web applications
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to