Skip to content

Commit 417abe9

Browse files
committed
fix(app): relaxed regex for input signals detection
closes #1494
1 parent 9e4013e commit 417abe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/compiler/angular/deps/helpers/component-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export class ComponentHelper {
179179

180180
// Matches a value for the input
181181
const valuePattern = (capture = true) =>
182-
`(${capture ? '' : '?:'}[\\w._]+|${quotePattern}.+${quotePattern})`;
182+
`(${capture ? '' : '?:'}[^()]*(?:\\([^()]*\\)[^()]*)*)`;
183183

184184
// Matches an optional space
185185
const spacePattern = `(?: )*`;

0 commit comments

Comments
 (0)