← Back to archive

Stdle #84 · regex · 2026-08-29

What does puts "foo bar baz".scan(/\b\w/).inspect output?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

puts "foo bar baz".scan(/\b\w/).inspect
Regex
4 attempts left

Answer & explanation