mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-10 19:56:00 +02:00
* | is special char for regexp
This commit is contained in:
parent
8ee8c55c49
commit
0d67dd9e56
@ -2929,7 +2929,7 @@ begin
|
||||
end;
|
||||
|
||||
Const
|
||||
RESpecials = '([\$\+\[\]\(\)\\\.\*\^\?])';
|
||||
RESpecials = '([\$\+\[\]\(\)\\\.\*\^\?\|])';
|
||||
|
||||
function StringReplace(aOriginal, aSearch, aReplace: string;
|
||||
Flags: TStringReplaceFlags): String;
|
||||
|
Loading…
Reference in New Issue
Block a user