We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f040a1 commit 1e58c14Copy full SHA for 1e58c14
lib/parser.js
@@ -1,7 +1,7 @@
1
'use strict';
2
3
-var TOKEN = /([!#\$%&'\*\+\-\.\^_`\|~0-9a-z]+)/,
4
- NOTOKEN = /([^!#\$%&'\*\+\-\.\^_`\|~0-9a-z])/g,
+var TOKEN = /([!#\$%&'\*\+\-\.\^_`\|~0-9A-Za-z]+)/,
+ NOTOKEN = /([^!#\$%&'\*\+\-\.\^_`\|~0-9A-Za-z])/g,
5
QUOTED = /"((?:\\[\x00-\x7f]|[^\x00-\x08\x0a-\x1f\x7f"])*)"/,
6
PARAM = new RegExp(TOKEN.source + '(?:=(?:' + TOKEN.source + '|' + QUOTED.source + '))?'),
7
EXT = new RegExp(TOKEN.source + '(?: *; *' + PARAM.source + ')*', 'g'),
0 commit comments