mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
fix(core): parse template literal syntax with nested identifiers as expression. (#9744)
This commit is contained in:

committed by
Nathan Walker

parent
b79a019a63
commit
57cc4edc8c
@ -1,5 +1,5 @@
|
||||
// regex that contains all symbols applicable for expression used to AI detect an expression.
|
||||
const expressionSymbolsRegex = /[\+\-\*\/%\?:<>=!\|&\(\)^~]/;
|
||||
const expressionSymbolsRegex = /[\+\-\*\/%\?:<>=!\|&\(\)^~]|\$\{.+\}/;
|
||||
|
||||
export namespace bindingConstants {
|
||||
export const sourceProperty = 'sourceProperty';
|
||||
|
Reference in New Issue
Block a user