Index: trunk/tools/code-utils/stylize.php |
— | — | @@ -293,7 +293,7 @@ |
294 | 294 | |
295 | 295 | function fixComment( $s ) { |
296 | 296 | // Fix single-line comments with no leading whitespace |
297 | | - if ( preg_match( '!^(#|//)(\S.*)$!s', $s, $m ) ) { |
| 297 | + if ( preg_match( '!^(#+|//+)(\S.*)$!s', $s, $m ) ) { |
298 | 298 | $s = $m[1] . ' ' . $m[2]; |
299 | 299 | } |
300 | 300 | return $s; |