Home / Function/ RegexBuilder() — tailwindcss Function Reference

RegexBuilder() — tailwindcss Function Reference

Architecture documentation for the RegexBuilder() function in ruby.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  ca1cb059_39f8_89b9_0d5e_89f63c67a302["RegexBuilder()"]
  7c0d4cec_4adf_c5af_98ca_2b77fd576491["ruby.rs"]
  ca1cb059_39f8_89b9_0d5e_89f63c67a302 -->|defined in| 7c0d4cec_4adf_c5af_98ca_2b77fd576491
  style ca1cb059_39f8_89b9_0d5e_89f63c67a302 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/extractor/pre_processors/ruby.rs lines 11–16

static TEMPLATE_START_REGEX: sync::LazyLock<Regex> = sync::LazyLock::new(|| {
    RegexBuilder::new(r#"\s*([a-z0-9_-]+)_template\s*<<[-~]?([A-Z]+)$"#)
        .multi_line(true)
        .build()
        .unwrap()
});

Domain

Subdomains

Frequently Asked Questions

What does RegexBuilder() do?
RegexBuilder() is a function in the tailwindcss codebase, defined in crates/oxide/src/extractor/pre_processors/ruby.rs.
Where is RegexBuilder() defined?
RegexBuilder() is defined in crates/oxide/src/extractor/pre_processors/ruby.rs at line 11.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free