$ ./guess_the_language
Regex
Regex · hard · #27
What does this expression return?
'abc'.match(/(\w)+/)[1]
'c'
'a'
'abc'
undefined
A quantified group keeps only its last iteration, so group 1 holds "c".
Play Regex ▸
◂ #26
all Regex questions
#28 ▸