in reply to What is greedy and lazy Matching in perl

How much of the string GOFOOGOBARGO will the pattern .*GO match? Greedy = all of it. Non-greedy = only the first two characters.
  • Comment on Re: What is greedy and lazy Matching in perl