perl -le 'print "\f" =~ /\s/ ? "match" : "no match"' # form-feed perl -le 'print chr(11) =~ /\s/ ? "match" : "no match"' # 11 is vertical tab.