mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-10 01:36:39 +02:00
Add '+' as a character to escape
* Add '+' as a character to escape when using the wild2regex function
This commit is contained in:
parent
63c5dd86b7
commit
6036283d20
|
@ -95,6 +95,9 @@ Regex!char wild2regex(const(char)[] pattern)
|
|||
case '|':
|
||||
str ~= "$|^";
|
||||
break;
|
||||
case '+':
|
||||
str ~= "\\+";
|
||||
break;
|
||||
default:
|
||||
str ~= c;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue