mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-08 17:02:25 +02:00
Update wild2regex to support spaces and back slash
* Update wild2regex to support spaces and back slash
This commit is contained in:
parent
9e971410ee
commit
57106a7b88
|
@ -99,7 +99,13 @@ Regex!char wild2regex(const(char)[] pattern)
|
|||
break;
|
||||
case '+':
|
||||
str ~= "\\+";
|
||||
break;
|
||||
case ' ':
|
||||
str ~= "\\s+";
|
||||
break;
|
||||
case '/':
|
||||
str ~= "\\/";
|
||||
break;
|
||||
default:
|
||||
str ~= c;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue