1
0
Fork 0
mirror of synced 2024-07-04 14:01:27 +12:00

Remove unecessary escape in regex

This commit is contained in:
Andrew Kingston 2021-03-29 18:21:57 +01:00
parent c486a311b1
commit e15986a6a5

View file

@ -362,7 +362,7 @@ function bindingReplacement(bindableProperties, textWithBindings, convertTo) {
* {{ literal [componentId] }} * {{ literal [componentId] }}
*/ */
function extractLiteralHandlebarsID(value) { function extractLiteralHandlebarsID(value) {
return value?.match(/{{\s*literal[\s\[]+([a-fA-F0-9]+)[\s\]]*}}/)?.[1] return value?.match(/{{\s*literal[\s[]+([a-fA-F0-9]+)[\s\]]*}}/)?.[1]
} }
/** /**