The lazy expression is the True *or* False predicate, meaning true while the token is valid, or false if the pattern match hasn't been fully exhausted.
irb(main):037:0> "<EM>first</EM>"[/<.+>/] #greedy => "<EM>first</EM>" irb(main):038:0> "<EM>first</EM>"[/<.+?>/] #lazy => "<EM>" irb(main):039:0> "<EM>first</EM>"[/<[^<>]+>/] # better solution => "<EM>"
source: Regular Expression Quick Start [regular-expressions.info]
Thanks!