Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ajv-validator/ajv
/ regexpCode
Function
regexpCode
lib/compile/codegen/code.ts:167–169 ·
view source on GitHub ↗
(rx: RegExp)
Source
from the content-addressed store, hash-verified
165
}
166
167
export
function
regexpCode(rx: RegExp): Code {
168
return
new
_Code(rx.toString())
169
}
Callers
1
getFormat
Function · 0.90
Calls
1
toString
Method · 0.45
Tested by
no test coverage detected