$ ./guess_the_languageRegex
Regex · easy · #42

What does this expression return?

'<b>x</b>'.match(/<.+?>/)[0]
  1. '<b>'
  2. '<b>x</b>'
  3. '</b>'
  4. 'b'
Adding ? makes + lazy, so it stops at the first > it can.
Play Regex ▸