Fixing inline TODO recognition
Michael G. Schwern [Mon, 24 Sep 2001 11:02:07 +0000 (07:02 -0400)]
Message-ID: <20010924110207.E27885@blackrider>

p4raw-id: //depot/perl@12177

vms/test.com

index 7eb957d..ce98bff 100644 (file)
@@ -201,7 +201,7 @@ while ($test = shift) {
                next if /^\s*$/;
 
 
-                if (/^(not )?ok (\d+)(\s*#.*)?/ &&
+                if (/^(not )?ok (\d+)[^#]*(\s*#.*)?/ &&
                     $2 == $next)
                 {
                     my($not, $num, $extra) = ($1, $2, $3);