http://qs321.pair.com?node_id=11140507


in reply to Regex match for Any number of words?

Why be negative?

perl -le 'print for " THIS is a variable number of words, spaces and + punctuation. " =~ /\w+/g' THIS is a variable number of words spaces and punctuation