]> granicus.if.org Git - php/commitdiff
- MFH '_' is valid in test blocks
authorMarcus Boerger <helly@php.net>
Tue, 16 May 2006 23:05:49 +0000 (23:05 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 16 May 2006 23:05:49 +0000 (23:05 +0000)
run-tests.php

index ae42e582ac47a147e71e1f9e9416b9b392e87598..3b2d2796ccd0855b5acbbe0edb9ef8e67ce7628e 100755 (executable)
@@ -972,7 +972,7 @@ TEST $file
                $line = fgets($fp);
 
                // Match the beginning of a section.
-               if (preg_match('/^--([A-Z]+)--/', $line, $r)) {
+               if (preg_match('/^--([_A-Z]+)--/', $line, $r)) {
                        $section = $r[1];
                        $section_text[$section] = '';
                        $secfile = $section == 'FILE' || $section == 'FILEEOF';