Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ZeroOrMoreQuantifier  RSS feed

 
meeta gaur
Ranch Hand
Posts: 305
Notepad Tomcat Server Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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


I'm wondering!! What is 11th position ?
 
Matthew Brown
Bartender
Posts: 4568
9
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!