r51193 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51192‎ | r51193 | r51194 >
Date:11:36, 30 May 2009
Author:thomasv
Status:ok
Tags:
Comment:
Dotall regexp
Modified paths:
  • /trunk/extensions/ProofreadPage/ProofreadPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/ProofreadPage.php
@@ -208,7 +208,7 @@
209209 $text = $rev->getText();
210210
211211 //check if it is using pagelist
212 - preg_match( "/<pagelist(.*?)\/>/i", $text, $m );
 212+ preg_match( "/<pagelist(.*?)\/>/is", $text, $m );
213213 if( $m ){
214214 preg_match_all( "/([0-9a-z]*?)\=(.*?)\s/", $m[1] . " ", $m2, PREG_PATTERN_ORDER );
215215 $params = array();

Status & tagging log