From 0ef4844be250b1c5a644356a223417fa62aab56c Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 3 Sep 2004 20:22:23 +0000 Subject: [PATCH] More permissive, i18n friendly regexs. git-svn-id: https://develop.svn.wordpress.org/trunk@1585 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 0e8c78d0aa..35f12fbad3 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-]+)', + '(.+?)', + '([^/]+)', + '([^/]+)', '(.+)' );