From e08dda3feff2a4a598659fae773a33ce092d7c47 Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Tue, 25 Mar 2008 19:52:08 +0100
Subject: [PATCH] allow numbers in interwiki descriptors FS#1358

darcs-hash:20080325185208-7ad00-d5181f3d82f89f6ed1d4ca9068db4123df8d443b.gz
---
 inc/parser/handler.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inc/parser/handler.php b/inc/parser/handler.php
index b36fd142b..41449d824 100644
--- a/inc/parser/handler.php
+++ b/inc/parser/handler.php
@@ -455,7 +455,7 @@ class Doku_Handler {
 
         //decide which kind of link it is
 
-        if ( preg_match('/^[a-zA-Z\.]+>{1}.*$/u',$link[0]) ) {
+        if ( preg_match('/^[a-zA-Z0-9\.]+>{1}.*$/u',$link[0]) ) {
         // Interwiki
             $interwiki = preg_split('/>/u',$link[0]);
             $this->_addCall(
-- 
GitLab