Remove unecessary escape in regex

This commit is contained in:
Andrew Kingston 2021-03-29 18:21:57 +01:00
parent c486a311b1
commit e15986a6a5
1 changed files with 1 additions and 1 deletions

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]
} }
/** /**