Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TruthHun/BookStack
/ wordRegexp
Function
wordRegexp
static/editor.md/lib/codemirror/mode/turtle/turtle.js:18–20 ·
view source on GitHub ↗
(words)
Source
from the content-addressed store, hash-verified
16
var
curPunc;
17
18
function
wordRegexp(words) {
19
return
new
RegExp(
"^(?:"
+ words.join(
"|"
) +
")$"
,
"i"
);
20
}
21
var
ops = wordRegexp([]);
22
var
keywords = wordRegexp([
"@prefix"
,
"@base"
,
"a"
]);
23
var
operatorChars = /[*+\-<>=&|]/;
Callers
1
turtle.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected