mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
gitGraph: 🔨 dot and minus should be valid branch name
This commit is contained in:
parent
98a7800fae
commit
c00b204259
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Parse following
|
* Parse following
|
||||||
* gitGraph:
|
* gitGraph:
|
||||||
@ -34,7 +33,7 @@
|
|||||||
["] this.begin("string");
|
["] this.begin("string");
|
||||||
<string>["] this.popState();
|
<string>["] this.popState();
|
||||||
<string>[^"]* return 'STR';
|
<string>[^"]* return 'STR';
|
||||||
[a-zA-Z][a-zA-Z0-9_]+ return 'ID';
|
[a-zA-Z][-_\.a-zA-Z0-9]*[-_a-zA-Z0-9] return 'ID';
|
||||||
<<EOF>> return 'EOF';
|
<<EOF>> return 'EOF';
|
||||||
|
|
||||||
/lex
|
/lex
|
||||||
|
Loading…
x
Reference in New Issue
Block a user