| 637 | replaceGetvar(value) { | 637 | replaceGetvar(value) { |
| 638 | return value.replace(/{{(get(?:global)?var)::([^}]+)}}/gi, (match, cmd, name, idx) => { | 638 | return value.replace(/{{(get(?:global)?var)::([^}]+)}}/gi, (match, cmd, name, idx) => { |
| 639 | name = name.trim(); | 639 | name = name.trim(); |
| | 640 | cmd = cmd.toLowerCase(); |
| 640 | const startIdx = this.index - value.length + idx; | 641 | const startIdx = this.index - value.length + idx; |
| 641 | const endIdx = this.index - value.length + idx + match.length; | 642 | const endIdx = this.index - value.length + idx + match.length; |
| 642 | // store pipe | 643 | // store pipe |