schema-markdown 1.1.3 → 1.1.4
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/lib/parser.js +1 -1
- package/package.json +1 -1
package/lib/parser.js
CHANGED
|
@@ -43,7 +43,7 @@ const RE_PART_TYPEDEF =
|
|
|
43
43
|
const RE_TYPEDEF = new RegExp('^typedef\\s+' + RE_PART_TYPEDEF + '\\s*$');
|
|
44
44
|
const RE_MEMBER = new RegExp('^\\s+(?<optional>optional\\s+)?' + RE_PART_TYPEDEF + '\\s*$');
|
|
45
45
|
const RE_VALUE = new RegExp('^\\s+(?<id>' + RE_PART_ID + ')\\s*$');
|
|
46
|
-
const RE_VALUE_QUOTED =
|
|
46
|
+
const RE_VALUE_QUOTED = /^\s+"(?<id>.*?)"\s*$/;
|
|
47
47
|
const RE_URL = /^\s+(?<method>[A-Za-z]+|\*)(?:\s+(?<path>\/[^\s]*))?/;
|
|
48
48
|
|
|
49
49
|
|