From 9c315eaec0d6a53439c5073ad1d07a7a9688cd33 Mon Sep 17 00:00:00 2001 From: andi Date: Fri, 13 May 2005 17:29:10 +0200 Subject: small fix on Windows Share parsing darcs-hash:20050513152910-9977f-e9dfee8d6958db3e487edbba3b441da0d447c158.gz --- inc/parser/parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/parser') diff --git a/inc/parser/parser.php b/inc/parser/parser.php index 9896b8799..dd2b72aa0 100644 --- a/inc/parser/parser.php +++ b/inc/parser/parser.php @@ -751,8 +751,8 @@ class Doku_Parser_Mode_WindowsShareLink extends Doku_Parser_Mode { $punc = '.:?\-;,'; $host = $ltrs.$punc; $any = $ltrs.$gunk.$punc; - - $this->pattern = "[$gunk$punc\s]\\\\\\\\[$host]+?\\\\[$any]+?[$punc]*[^$any]"; + + $this->pattern = "[$gunk$punc\s]\\\\\\\\[$host]+?\\\\[$any]+?(?=['.$punc.']*[^'.$any.'])"; } function connectTo($mode) { -- cgit v1.2.3