projects
/
erdiag.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
55eb65a
)
Fix bug: regexp for 'REFERENCES' was case-sensitive
author
Benjamin Auder
<benjamin.auder@somewhere>
Wed, 7 Feb 2018 01:30:08 +0000
(
02:30
+0100)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Wed, 7 Feb 2018 01:30:08 +0000
(
02:30
+0100)
parser.js
patch
|
blob
|
blame
|
history
diff --git
a/parser.js
b/parser.js
index
eeafa08
..
3d31d8d
100644
(file)
--- a/
parser.js
+++ b/
parser.js
@@
-179,7
+179,7
@@
class ErDiags
if (!!attr.qualifiers && !!attr.qualifiers.match(/references/i))
{
Object.assign(newField, {ref: attr.qualifiers.match(/references ([^\s]+)/i)[1]});
- attr.qualifiers = attr.qualifiers.replace(/references [^\s]+/, "");
+ attr.qualifiers = attr.qualifiers.replace(/references [^\s]+/
i
, "");
}
newTable.push(newField);
});