From 7c72194c524c56648b69f2c62a527044f996dd1b Mon Sep 17 00:00:00 2001 From: rboren Date: Fri, 3 Sep 2004 20:22:23 +0000 Subject: [PATCH] More permissive, i18n friendly regexs. git-svn-id: http://svn.automattic.com/wordpress/trunk@1585 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 0e8c78d0a..35f12fbad 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1237,11 +1237,11 @@ function generate_rewrite_rules($permalink_structure = '', $matches = '') { '([0-9]{1,2})', '([0-9]{1,2})', '([0-9]{1,2})', - '([_0-9a-z-]+)', + '([^/]+)', '([0-9]+)', - '([/_0-9a-z-]+)', - '([_0-9a-z-]+)', - '([_0-9a-z-]+)', + '(.+?)', + '([^/]+)', + '([^/]+)', '(.+)' );