
3 May
2012
3 May
'12
5:52 p.m.
On Thu, 2012-05-03 at 06:41 -0700, Eric Nelson wrote:
+# check for whitespace before semicolon - not allowed at end-of-line
if ($line =~ /\s+;$/) {
if ($line =~ /\s+;\s*$/)
Won't the extra space at end of line be caught by other tests?
Yes it will.
You want the test to find the space before semicolon whenever it exists.