Skip to content

Commit 39e0410

Browse files
committed
Fix id for "match any" in reference.
gskinner#305
1 parent c776596 commit 39e0410

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

dev/src/docs/reference_content.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ o.kids = [
7575
token:"."
7676
},
7777
{
78+
id:"matchanyset",
7879
label:"match any",
7980
desc:"A character set that can be used to match any character, including line breaks, without the dotall flag (<code>s</code>)."+
8081
"<p>An alternative is <code>[^]</code>, but it is not supported in all browsers.</p>",

dev/src/profiles/core.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,10 @@ let core = {
373373
"conditionalelse": y, // |
374374
"conditionalgroup": y, // (?(1)a|b) (?(-1)a|b) (?(name)a|b)
375375
"mode": y, // (?i-x) see modes above
376-
"comment": y // (?#comment)
376+
"comment": y, // (?#comment)
377+
378+
// meta:
379+
"matchanyset": y // [\s\S]
377380
},
378381

379382
substTokens: {

0 commit comments

Comments
 (0)