Fix name of JavaScript
This commit is contained in:
parent
3b14ed8185
commit
c5ce5578fc
32 changed files with 61 additions and 61 deletions
|
@ -2,7 +2,7 @@ We need to find the beginning of the comment `match:<!--`, then everything till
|
|||
|
||||
The first idea could be `pattern:<!--.*?-->` -- the lazy quantifier makes the dot stop right before `match:-->`.
|
||||
|
||||
But a dot in Javascript means "any symbol except the newline". So multiline comments won't be found.
|
||||
But a dot in JavaScript means "any symbol except the newline". So multiline comments won't be found.
|
||||
|
||||
We can use `pattern:[\s\S]` instead of the dot to match "anything":
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue