@tokens = /(?:".*?"|\S)+/g; #### $_ = 'Here we have u"a quoted string" and a .';