Browse Source

test utf8

euromark 12 years ago
parent
commit
a6572b261d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Test/Case/Lib/Utility/UtilityTest.php

+ 1 - 1
Test/Case/Lib/Utility/UtilityTest.php

@@ -62,7 +62,7 @@ class UtilityTest extends MyCakeTestCase {
 
 	public function testPregMatchAll() {
 		$string = 'D-81245 München';
-		preg_match_all('/(*UTF8)([\w+])-([a-z0-9]+)\s+\b([\w\s]+)\b/i', $string, $matches, PREG_SET_ORDER);
+		preg_match_all('/([\w+])-([a-z0-9]+)\s+\b([\w\s]+)\b/i', $string, $matches, PREG_SET_ORDER);
 		$expected = array(
 			array(
 				$string,