Konstantin Kolinko wrote:
2011/9/15 André Warnier <[email protected]>:
On the other hand, using a regexp provides for quite a bit of flexibility
regarding ranges of addresses. You could use something like :
"(127\\.0\\.0\\.1)|((0?:0?:0?:0?:0?:0?)?:0?:1)"
Just 127\.0\.0\.1
It is XML - no need to double the slashes.
For XML parsing not. But then it becomes a String, and this String is passed to the
regexp engine..
And the regexp engine will interpret "." as "any character", while it interprets "\." as
"a dot character".
So, are you sure ?
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
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]