diff options
author | lupo49 <post@lupo49.de> | 2012-03-07 19:58:33 +0100 |
---|---|---|
committer | lupo49 <post@lupo49.de> | 2012-03-07 19:58:33 +0100 |
commit | bfdeb23f1844dffca054cb9c17c31a2151d3d9ea (patch) | |
tree | 7126b688fc9bf19b10cb81dbf0bd04220ecf9076 /inc | |
parent | d51d5583294017b72fa7ba2f709ec14961b1bc41 (diff) | |
download | rpg-bfdeb23f1844dffca054cb9c17c31a2151d3d9ea.tar.gz rpg-bfdeb23f1844dffca054cb9c17c31a2151d3d9ea.tar.bz2 |
Parser: Allow parser to fully recognize windows share links with a hyphen character in it
(Currently, the clickable link stops before a hyphen character)
Diffstat (limited to 'inc')
-rw-r--r-- | inc/parser/parser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/parser.php b/inc/parser/parser.php index 68d4e4569..cf132ce97 100644 --- a/inc/parser/parser.php +++ b/inc/parser/parser.php @@ -929,7 +929,7 @@ class Doku_Parser_Mode_windowssharelink extends Doku_Parser_Mode { var $pattern; function preConnect() { - $this->pattern = "\\\\\\\\\w+?(?:\\\\[\w$]+)+"; + $this->pattern = "\\\\\\\\\w+?(?:\\\\[\w-$]+)+"; } function connectTo($mode) { |