mirror of
https://github.com/diced/zipline.git
synced 2025-04-11 23:31:17 -05:00
Forgot \
before first {
in the regex
This commit is contained in:
parent
0d0da78e21
commit
ce9ccdbbe0
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ export function parseString(str: string, value: ParseValue) {
|
|||
};
|
||||
|
||||
const re =
|
||||
/{(?<type>file|url|user|debug|link|metricsUser|metricsZipline)\.(?<prop>\w+)(::(?<mod>(\w+|<|<=|=|>=|>|\^|\$|~|\/)+))?((::(?<mod_tzlocale>\S+?))|(?<mod_check>\[(?<mod_check_true>".*?")\|\|(?<mod_check_false>".*?")\]))?\}/gi;
|
||||
/\{(?<type>file|url|user|debug|link|metricsUser|metricsZipline)\.(?<prop>\w+)(::(?<mod>(\w+|<|<=|=|>=|>|\^|\$|~|\/)+))?((::(?<mod_tzlocale>\S+?))|(?<mod_check>\[(?<mod_check_true>".*?")\|\|(?<mod_check_false>".*?")\]))?\}/gi;
|
||||
let matches: RegExpMatchArray | null;
|
||||
|
||||
while ((matches = re.exec(str))) {
|
||||
|
|
Loading…
Add table
Reference in a new issue