Skip to content

Commit a17e67b

Browse files
fix regex match
1 parent 0f7b1c4 commit a17e67b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

editor/scaffolds/editor-home/scene-card.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export function SceneCard({
7676
highlightClassName="name"
7777
searchWords={q ? [q] : []}
7878
textToHighlight={scene.name}
79+
autoEscape // required to escape regex special characters, like, `+`, `(`, `)`, etc.
7980
/>
8081
</Label>
8182
</footer>

0 commit comments

Comments
 (0)