cvs: phpdoc /scripts fix-whitespace.php

From: Date: Sat, 29 Dec 2007 22:21:53 +0000
Subject: cvs: phpdoc /scripts fix-whitespace.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-915@lists.php.net to get a copy of this message
didou Sat Dec 29 22:21:53 2007 UTC Modified files: /phpdoc/scripts fix-whitespace.php Log: Fix regexp http://cvs.php.net/viewvc.cgi/phpdoc/scripts/fix-whitespace.php?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/scripts/fix-whitespace.php diff -u phpdoc/scripts/fix-whitespace.php:1.4 phpdoc/scripts/fix-whitespace.php:1.5 --- phpdoc/scripts/fix-whitespace.php:1.4 Mon Jan 15 01:56:30 2007 +++ phpdoc/scripts/fix-whitespace.php Sat Dec 29 22:21:53 2007 @@ -17,7 +17,7 @@ | Etienne Kneuss <colder@php.net> | +----------------------------------------------------------------------+ - $Id: fix-whitespace.php,v 1.4 2007/01/15 01:56:30 didou Exp $ + $Id: fix-whitespace.php,v 1.5 2007/12/29 22:21:53 didou Exp $ */ if (PHP_SAPI !== 'cli') { @@ -103,7 +103,7 @@ } // remove front spaces - if (preg_match('#^([ ]+)<refentry id=(?:"|\')function.#', $line, $match)) { + if (preg_match('#^([ ]+)<refentry xml:id=(?:"|\')function.#', $line, $match)) { $states['front_spaces'] = strlen($match[1]); if ($states['front_spaces'] !== 2) {

« previous php.doc.cvs (#915) next »