Index: trunk/extensions/TitleBlacklist/TitleBlacklist.list.php |
— | — | @@ -181,6 +181,7 @@ |
182 | 182 | preg_match( '/^(.*?)(\s*<(.*)>)?$/', $line, $pockets ); |
183 | 183 | @list( $full, $regex, $null, $opts_str ) = $pockets; |
184 | 184 | $regex = trim( $regex ); |
| 185 | + $regex = str_replace( '_', ' ', $regex ); // We'll be matching against text form |
185 | 186 | $opts_str = trim( $opts_str ); |
186 | 187 | // Parse opts |
187 | 188 | $opts = preg_split( '/\s*\|\s*/', $opts_str ); |