Thanks a lot! 2010/3/2 Riyad Kalla <[email protected]>: > If you have that string literally copy-pasted in some Java code somewhere, > you need to double escape the escape chars... > > \\b and so on. > > On Tue, Mar 2, 2010 at 8:32 AM, Ivan Dudko <[email protected]> wrote: > >> 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] >> >> >
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
