From bc6c0782e99bcde912edcc0731ff63ccadd56acc Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 12 Jul 2005 12:26:55 +0000 Subject: [PATCH] Fix for problem with lang names containing 8 Thanks Eloy --- filter/multilang/filter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filter/multilang/filter.php b/filter/multilang/filter.php index 0d49cb448b9..72aa01d30b9 100644 --- a/filter/multilang/filter.php +++ b/filter/multilang/filter.php @@ -85,7 +85,7 @@ function multilang_filter_impl($langblock) { // Setup is done, now do multilang replacement on the match we 've been called for - $searchtosplit = '/<(?:lang|span) lang="([a-zA-Z_-]*)".*?>(.+?)<\/(?:lang|span)>/is'; + $searchtosplit = '/<(?:lang|span) lang="([a-zA-Z_-8]*)".*?>(.+?)<\/(?:lang|span)>/is'; preg_match_all($searchtosplit, $langblock[0], $langlist); /// Get the existing sections langs