This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes ZeroOrMoreQuantifier Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "ZeroOrMoreQuantifier" Watch "ZeroOrMoreQuantifier" New topic
Author

ZeroOrMoreQuantifier

meeta gaur
Ranch Hand

Joined: Dec 05, 2012
Posts: 305


0 aa
2
3 a
4
5 aa
7
8 a
9
10
11


I'm wondering!! What is 11th position ?


My one regret in life is that I am not someone else.
- Woody Allen
Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4343
    
    8

11th position is after the final character of the string. If you've got a regular expression that can be matched by an empty string then it will find a match at the end as well.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ZeroOrMoreQuantifier
 
Similar Threads
why hash map contains null
server side validation
Map Problem
instanceof key word
Java regexp