Page 1 of 1

About Question com.enthuware.ets.scjp.v6.2.808 :

Posted: Sat Dec 03, 2011 6:15 pm
by ETS User
I don't think this is true of all JVMs. K&B book specifies that \s and \\s is JVM specific

Re: About Question com.enthuware.ets.scjp.v6.2.808 :

Posted: Sun Dec 04, 2011 4:45 pm
by admin
I am not sure about the context in which K&B states that so can't really comment on that. As per the JavaDoc API documentation at http://docs.oracle.com/javase/1.4.2/doc ... ttern.html \s is a whitespace character, so the given answer is correct.