Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php |
— | — | @@ -282,7 +282,7 @@ |
283 | 283 | */ |
284 | 284 | function cmpCallback( $a, $b, $operator ) { |
285 | 285 | $b = html_entity_decode( $b, ENT_QUOTES ); |
286 | | - $re = preg_match( "|^/|", $b ); |
| 286 | + $re = preg_match( "|^[/#%]|", $b ); |
287 | 287 | switch ( $operator ) { |
288 | 288 | case '=': |
289 | 289 | $cond = $re ? preg_match( $b, $a ) : ( empty( $b ) ? ( $a == $b ) : true ); |