diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index 97ba63f956..e26b692473 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -143,10 +143,10 @@ Text can also contain JavaScript expressions: --- -However, if you're using regular expression literal that starts with `/`, you'll need to wrap it in parentheses. +However, if you're using a regular expression (`RegExp`) [literal notation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#literal_notation_and_constructor), you'll need to wrap it in parentheses. ```sv -