• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

regex problem

 
joshua antony
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


The output is 012456. Where does this 6 come from. I thought the output should be 012345. m.start() for f is 5; so from where did 6 come?
 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your question is discussed Here
 
joshua antony
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you,
That was really helpful.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic