diff options
author | andi <andi@splitbrain.org> | 2005-04-26 20:13:58 +0200 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-04-26 20:13:58 +0200 |
commit | 27a2b0851e6b7273beab68070c1e639454918da7 (patch) | |
tree | fdfa1756884133a40460279f0efa018acc8bca2c /inc/parser | |
parent | 1e76272ce558ed88c5924606cc58507e14272960 (diff) | |
download | rpg-27a2b0851e6b7273beab68070c1e639454918da7.tar.gz rpg-27a2b0851e6b7273beab68070c1e639454918da7.tar.bz2 |
more interwiki fixes #273
darcs-hash:20050426181358-9977f-3b12ff92c5671e6703d67ad518379961042da0c3.gz
Diffstat (limited to 'inc/parser')
-rw-r--r-- | inc/parser/handler.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php index d69c2be22..b1334d946 100644 --- a/inc/parser/handler.php +++ b/inc/parser/handler.php @@ -362,22 +362,22 @@ class Doku_Handler { //decide which kind of link it is if ( preg_match('/^[a-zA-Z]+>{1}.+$/u',$link[0]) ) { - // Interwiki + // Interwiki $interwiki = preg_split('/>/u',$link[0]); $this->_addCall( 'interwikilink', array($link[0],$link[1],strtolower($interwiki[0]),$interwiki[1]), $pos ); - }elseif ( preg_match('/\\\\\\\\[\w.:?\-;,]+?\\\\/u',$link[0]) ) { - // Windows Share + }elseif ( preg_match('/\\\\\\\\[\w.:?\-;,]+?\\\\/u',$link[0]) ) { + // Windows Share $this->_addCall( 'windowssharelink', array($link[0],$link[1]), $pos ); - }elseif ( preg_match('#([a-z0-9\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)#i',$link[0]) ) { - // E-Mail + }elseif ( preg_match('#([a-z0-9\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)#i',$link[0]) ) { + // E-Mail $this->_addCall( 'emaillink', array($link[0],$link[1]), |