in reply to utf weirdness in regex
/^[\w\s.]+$/ is equivilant to /^.+$/, right? I suspect the trailing period in the class is not what you intended.
No Idea about the unicode fun with $string1, though.
"Even if you are on the right track, you'll get run over if you just sit there." - Will Rogers
In Section
Seekers of Perl Wisdom