| Author |
doubt regarding patterns in regex
|
archu sweet
Ranch Hand
Joined: Mar 07, 2011
Posts: 66
|
|
Hi
I just saw this in self answer test part of kathy n sierra 1.5 scjp edition....
Command line input: java Regex2 "\d*" ab34ef
output : 01234456
Doubt part : all i need to know is step by step explanation of output....i'm unable to understand as how "6" was included in output...
|
 |
Henry Wong
author
Sheriff
Joined: Sep 28, 2004
Posts: 16681
|
|
|
http://www.coderanch.com/how-to/java/SCJP-FAQ#kb-regexp
|
Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
|
 |
archu sweet
Ranch Hand
Joined: Mar 07, 2011
Posts: 66
|
|
Thanks that was sooooo fast
|
 |
 |
|
|
subject: doubt regarding patterns in regex
|
|
|