Here is the
test run:
%
java Regex "\d\w" "ab4 56_7ab"
The output is:
Pattern is \d\w
4 56
7 7a
Hi everyone
I have a problem with above code from k&b
scjp 6 studyguide chapter 6 pg 499, i compile and run this code and i was expecting the above output, but i got an exception.
I would like to know where to put test run :
% java Regex "\d\w" "ab4 56_7ab" to get the above output .
I understand that d is looking for digit and w is looking for
word character, am not clear about the output. Please can you explain to me, i will appriciate your assistance.