From: Marcus Boerger Date: Tue, 16 May 2006 23:04:52 +0000 (+0000) Subject: - '_' is valid in test blocks X-Git-Tag: BEFORE_NEW_OUTPUT_API~182 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b858067d3462bca58b3c6f309dedc3e0c1951fd;p=php - '_' is valid in test blocks --- diff --git a/run-tests.php b/run-tests.php index b1e0dba5c4..28c7d39148 100755 --- a/run-tests.php +++ b/run-tests.php @@ -989,7 +989,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';