buildRegex() — vue Function Reference
Architecture documentation for the buildRegex() function in text-parser.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 8832460b_9af4_2e2a_ce8f_a437c828d7c5["buildRegex()"] e3eb242c_569d_4ef6_6acd_a6d0879fa6a1["text-parser.ts"] 8832460b_9af4_2e2a_ce8f_a437c828d7c5 -->|defined in| e3eb242c_569d_4ef6_6acd_a6d0879fa6a1 2ed64a28_b078_3038_149f_d30cf6867ba3["parseText()"] 2ed64a28_b078_3038_149f_d30cf6867ba3 -->|calls| 8832460b_9af4_2e2a_ce8f_a437c828d7c5 style 8832460b_9af4_2e2a_ce8f_a437c828d7c5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/compiler/parser/text-parser.ts lines 7–11
const buildRegex = cached(delimiters => {
const open = delimiters[0].replace(regexEscapeRE, '\\$&')
const close = delimiters[1].replace(regexEscapeRE, '\\$&')
return new RegExp(open + '((?:.|\\n)+?)' + close, 'g')
})
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does buildRegex() do?
buildRegex() is a function in the vue codebase, defined in src/compiler/parser/text-parser.ts.
Where is buildRegex() defined?
buildRegex() is defined in src/compiler/parser/text-parser.ts at line 7.
What calls buildRegex()?
buildRegex() is called by 1 function(s): parseText.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free