@retorquere/bibtex-parser 7.0.5 → 7.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/grammar.js +5 -2
- package/index.js +3 -0
- package/package.json +1 -1
package/grammar.js
CHANGED
|
@@ -215,7 +215,7 @@ function peg$parse(input, options) {
|
|
|
215
215
|
var peg$r5 = /^[({]/;
|
|
216
216
|
var peg$r6 = /^[})]/;
|
|
217
217
|
var peg$r7 = /^[^ \t\r\n,]/;
|
|
218
|
-
var peg$r8 = /^[
|
|
218
|
+
var peg$r8 = /^[0-9A-Za-z!$&*+\-.\/:;<>?@[\\\]\^_`|~]/;
|
|
219
219
|
var peg$r9 = /^[^{}"]/;
|
|
220
220
|
var peg$r10 = /^[a-zA-Z]/;
|
|
221
221
|
var peg$r11 = /^[^\^_${}\\]/;
|
|
@@ -252,7 +252,7 @@ function peg$parse(input, options) {
|
|
|
252
252
|
var peg$e12 = peg$literalExpectation("string", true);
|
|
253
253
|
var peg$e13 = peg$classExpectation([" ", "\t", "\r", "\n", ","], true, false);
|
|
254
254
|
var peg$e14 = peg$literalExpectation(",", false);
|
|
255
|
-
var peg$e15 = peg$classExpectation(["
|
|
255
|
+
var peg$e15 = peg$classExpectation([["0", "9"], ["A", "Z"], ["a", "z"], "!", "$", "&", "*", "+", "-", ".", "/", ":", ";", "<", ">", "?", "@", "[", "\\", "]", "^", "_", "`", "|", "~"], false, false);
|
|
256
256
|
var peg$e16 = peg$literalExpectation("\"", false);
|
|
257
257
|
var peg$e17 = peg$classExpectation(["{", "}", "\""], true, false);
|
|
258
258
|
var peg$e18 = peg$literalExpectation("{\\verb", false);
|
|
@@ -4665,6 +4665,7 @@ function peg$parse(input, options) {
|
|
|
4665
4665
|
bibstring: 1,
|
|
4666
4666
|
chsf: 1,
|
|
4667
4667
|
cite: 1,
|
|
4668
|
+
citeauthor: 1,
|
|
4668
4669
|
cyrchar: 1,
|
|
4669
4670
|
ding: 1,
|
|
4670
4671
|
emph: 1,
|
|
@@ -4689,11 +4690,13 @@ function peg$parse(input, options) {
|
|
|
4689
4690
|
subsubsubsection: 1,
|
|
4690
4691
|
t: 1,
|
|
4691
4692
|
textbf: 1,
|
|
4693
|
+
textcite: 1,
|
|
4692
4694
|
textit: 1,
|
|
4693
4695
|
textrm: 1,
|
|
4694
4696
|
textsc: 1,
|
|
4695
4697
|
textsubscript: 1,
|
|
4696
4698
|
textsuperscript: 1,
|
|
4699
|
+
textup: 1,
|
|
4697
4700
|
texttt: 1,
|
|
4698
4701
|
url: 1,
|
|
4699
4702
|
vphantom: 1,
|
package/index.js
CHANGED