Home / Function/ buildRegex() — vue Function Reference

buildRegex() — vue Function Reference

Architecture documentation for the buildRegex() function in text-parser.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  463921b4_0e8b_8e70_7164_e4a31b8fe393["buildRegex()"]
  98ee1e5f_4546_f8dd_b03c_1579380b057f["parseText()"]
  98ee1e5f_4546_f8dd_b03c_1579380b057f -->|calls| 463921b4_0e8b_8e70_7164_e4a31b8fe393
  873ecd88_d60c_980f_e4d8_c465d6aa940c["cached()"]
  463921b4_0e8b_8e70_7164_e4a31b8fe393 -->|calls| 873ecd88_d60c_980f_e4d8_c465d6aa940c
  style 463921b4_0e8b_8e70_7164_e4a31b8fe393 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

Calls

Called By

Frequently Asked Questions

What does buildRegex() do?
buildRegex() is a function in the vue codebase.
What does buildRegex() call?
buildRegex() calls 1 function(s): cached.
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