the editable site (validation-lab)
This commit is contained in:
commit
3ac81d5a52
13454 files changed
+2227005
No files matched your search
+21
@@ -0,0 +1,21 @@
|
||||
Prism.languages.bnf = {
|
||||
'string': {
|
||||
pattern: /"[^\r\n"]*"|'[^\r\n']*'/
|
||||
},
|
||||
'definition': {
|
||||
pattern: /<[^<>\r\n\t]+>(?=\s*::=)/,
|
||||
alias: ['rule', 'keyword'],
|
||||
inside: {
|
||||
'punctuation': /^<|>$/
|
||||
}
|
||||
},
|
||||
'rule': {
|
||||
pattern: /<[^<>\r\n\t]+>/,
|
||||
inside: {
|
||||
'punctuation': /^<|>$/
|
||||
}
|
||||
},
|
||||
'operator': /::=|[|()[\]{}*+?]|\.{3}/
|
||||
};
|
||||
|
||||
Prism.languages.rbnf = Prism.languages.bnf;
|
||||
Reference in new issue
Block a user