Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TruthHun/BookStack
/ identifier
Function
identifier
static/editor.md/lib/codemirror/mode/pegjs/pegjs.js:17–19 ·
view source on GitHub ↗
(stream)
Source
from the content-addressed store, hash-verified
15
var
jsMode = CodeMirror.getMode(config,
"javascript"
);
16
17
function
identifier(stream) {
18
return
stream.match(/^[a-zA-Z_][a-zA-Z0-9_]*/);
19
}
20
21
return
{
22
startState:
function
() {
Callers
1
pegjs.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected