in reply to Re^2: Help with regex
in thread Help with regex

You might try m/^1\s*$/ for your regular expression.
-- gam3
A picture is worth a thousand words, but takes 200K.