wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Regex Question from K&B Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Regex Question from K&B" Watch "Regex Question from K&B" New topic
Author

Regex Question from K&B

ayush raj
Ranch Hand

Joined: Jan 15, 2012
Posts: 60
Given the command line invocation: java regex2 "\d*" ab34ef
What is the output of following code :



Answer given is : 01234456

Couldn't get it !! Please someone explain .
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41182
    
  45
Check the ScjpFaq; there's an entry for this.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regex Question from K&B
 
Similar Threads
K&B doubt --> Parsing
Pattern Matching
Regarding regex
SCJP question doubt?
Java command-line input argument??