--- block.module 2005-05-22 09:50:10.000000000 -0300 +++ block.module 2005-07-18 03:41:42.265625000 -0300 @@ -470,7 +470,7 @@ function block_list($region, $regions = // Match path if necessary if ($block['pages']) { $path = drupal_get_path_alias($_GET['q']); - $regexp = '/^('. preg_replace(array('/(\r\n?|\n)/', '/\\\\\*/', '/(^|\|)\\\\($|\|)/'), array('|', '.*', '\1'. variable_get('site_frontpage', 'node') .'\2'), preg_quote($block['pages'], '/')) .')$/'; + $regexp = '/^('. preg_replace(array('/(\r\n?|\n)/', '/\\\\\*/', '/(^|\|)\\\\($|\|)/'), array('|', '.*', '\1'. preg_quote(variable_get('site_frontpage', 'node'), '/') .'\2'), preg_quote($block['pages'], '/')) .')$/'; $page_match = !($block['visibility'] xor preg_match($regexp, $path)); } else {