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


meeta gaur
Ranch Hand

Joined: Dec 05, 2012
Posts: 305

0 aa
3 a
5 aa
8 a

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

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

Joined: Apr 06, 2010
Posts: 4343

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:
subject: ZeroOrMoreQuantifier
Similar Threads
why hash map contains null
server side validation
Map Problem
instanceof key word
Java regexp