Skip to content
Snippets Groups Projects
Commit 9c315eae authored by andi's avatar andi
Browse files

small fix on Windows Share parsing

darcs-hash:20050513152910-9977f-e9dfee8d6958db3e487edbba3b441da0d447c158.gz
parent aec5d174
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment