* patrick clancy meinte:

> I've tried things like \\. or \\- or \\[ but these are incorrect. What is
> the correct way to escape these characters?

\\. is the right way to escape a dot. See page 390 in Jeffrey Friedl's 
"mastering regular expressions" 2nd edition

...
String[] result = Pattern.compile("\\.").split("209.204.146.22");
...

n8
-- 
/earth: file system full.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to