11.34. minimal match

/a.*b/   axbzb    matches axbzb
/a.*?b/  axbzb    matches axb as the * quantifier is minimal now             

/a.*b/   axy121413413bq 
/a.*?b/  axy121413413bq 
                  They both match the same string

If you are interested in on-site trainings by the author, please contact me directly.

Online courses:

Would you like to get
updated when I publish
the next article?

Follow me:

Google Plus Twitter RSS feed