if "foo bar" =~ /^[a-zA-Z]+\s[a-zA-Z]+$/
print "match 1"
end
if "foo bar" =~ /^[a-zA-Z]+\s[a-zA-Z]+$/
print "match 2"
end
if "foo bar biz" =~ /^[a-zA-Z]+\s[a-zA-Z]+$/
print "match 3"
end
aWYgImZvbyBiYXIiID1+IC9eW2EtekEtWl0rXHNbYS16QS1aXSskLyAKICAgIHByaW50ICJtYXRjaCAxIgplbmQgCmlmICJmb28gIGJhciIgPX4gL15bYS16QS1aXStcc1thLXpBLVpdKyQvIAogICAgcHJpbnQgIm1hdGNoIDIiCmVuZCAKaWYgImZvbyBiYXIgYml6IiA9fiAvXlthLXpBLVpdK1xzW2EtekEtWl0rJC8gCiAgICBwcmludCAibWF0Y2ggMyIKZW5kIA==