Using a substring twice in regex -


First of all, this question can be asked first, but I'm not sure which phrase to search.

I have a string:

Maaa

I have a pattern:

Aaa

I have to match twice, I should give the initial index of 1 and 2. But of course, I only get one match (starting index 1), because the Reggae engine locks all 3 "A" and can not use them again, except with 1 "A" which is not matching Have an account.

How can I fix this?

Thank you!

you type 2a

  a (? = AA) / Code> 

Comments

Popular posts from this blog

asp.net - Change the driver in the connection string to a data source in VB.Net -

Getting started consuming web services in a Ruby on Rails 3 application -

objective c - iPhone and it's wireless area -