in reply to Infinite loop regex
print "[$1]" while "foo bar baz quux" =~ /\G(\w+) ?/g; __output__ [foo][bar][baz][quux] [download]
_________broquaint