crates.io / regex-automata / 0.4.18

regex-automata 0.4.18

Source
https://github.com/rust-lang/regex
Artifact scanned
regex-automata-0.4.18.crate (crate · 614.0 KB · SHA-256 ad8553b9b264…)
Compared with
regex-automata-0.4.17.crate (0 signals introduced since)
Files
101 scanned, 6 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 24 info
Scan time
0.3 s
LLM review
LLM review by claude-haiku-5-5 (Anthropic): nothing at warn or critical to review.
Disclude version
4.3.0
Scanned (UTC)
2026-10-24 02:09

Signals

Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.

  1. info unicode-mixed-script src/hybrid/dfa.rs:3630:26

    identifier `aβ` mixes scripts: Latin + Greek (in string/comment) (raw pass, confidence 0.40)

        /// // at the very first position.
        /// let pattern = r"[aβ]{100}";
        /// let dfa = DFA::builder()
        ///     .configure(
  2. info unicode-mixed-script src/util/look.rs:1802:35

    identifier `𝛃b` mixes scripts: Other + Latin (in string/comment) (raw pass, confidence 0.40)

            // Non word boundaries with a non-ASCII codepoint.
            assert!(!testlook!(look, "𝛃b", 4));
            assert!(!testlook!(look, "𝛃 ", 5));
            assert!(!testlook!(look, " 𝛃 ", 0));
  3. info unicode-mixed-script src/util/look.rs:1855:34

    identifier `𝛃b` mixes scripts: Other + Latin (in string/comment) (raw pass, confidence 0.40)

            // Non word boundaries with a non-ASCII codepoint.
            assert!(testlook!(look, "𝛃b", 4));
            assert!(!testlook!(look, "𝛃 ", 5));
            assert!(!testlook!(look, " 𝛃 ", 0));
  4. info unicode-mixed-script src/util/look.rs:1907:34

    identifier `𝛃b` mixes scripts: Other + Latin (in string/comment) (raw pass, confidence 0.40)

            // Non word boundaries with a non-ASCII codepoint.
            assert!(testlook!(look, "𝛃b", 4));
            assert!(testlook!(look, "𝛃 ", 5));
            assert!(testlook!(look, " 𝛃 ", 0));
  5. info unicode-mixed-script src/util/look.rs:1967:35

    identifier `𝛃b` mixes scripts: Other + Latin (in string/comment) (raw pass, confidence 0.40)

            // Non word boundaries with a non-ASCII codepoint.
            assert!(!testlook!(look, "𝛃b", 4));
            assert!(testlook!(look, "𝛃 ", 5));
            assert!(testlook!(look, " 𝛃 ", 0));
  6. info unicode-mixed-script src/util/look.rs:2020:34

    identifier `𝛃b` mixes scripts: Other + Latin (in string/comment) (raw pass, confidence 0.40)

            // Non word boundaries with a non-ASCII codepoint.
            assert!(testlook!(look, "𝛃b", 4));
            assert!(!testlook!(look, "b𝛃", 1));
            assert!(!testlook!(look, "𝛃 ", 5));
  7. info unicode-mixed-script src/util/look.rs:2021:35

    identifier `b𝛃` mixes scripts: Latin + Other (in string/comment) (raw pass, confidence 0.40)

            assert!(testlook!(look, "𝛃b", 4));
            assert!(!testlook!(look, "b𝛃", 1));
            assert!(!testlook!(look, "𝛃 ", 5));
            assert!(!testlook!(look, " 𝛃 ", 0));
  8. info unicode-mixed-script src/util/look.rs:2074:35

    identifier `𝛃b` mixes scripts: Other + Latin (in string/comment) (raw pass, confidence 0.40)

            // Non word boundaries with a non-ASCII codepoint.
            assert!(!testlook!(look, "𝛃b", 4));
            assert!(testlook!(look, "b𝛃", 1));
            assert!(!testlook!(look, "𝛃 ", 5));
  9. info unicode-mixed-script src/util/look.rs:2075:34

    identifier `b𝛃` mixes scripts: Latin + Other (in string/comment) (raw pass, confidence 0.40)

            assert!(!testlook!(look, "𝛃b", 4));
            assert!(testlook!(look, "b𝛃", 1));
            assert!(!testlook!(look, "𝛃 ", 5));
            assert!(!testlook!(look, " 𝛃 ", 0));
  10. info unicode-mixed-script src/util/look.rs:2127:35

    identifier `𝛃b` mixes scripts: Other + Latin (in string/comment) (raw pass, confidence 0.40)

            // Non word boundaries with a non-ASCII codepoint.
            assert!(!testlook!(look, "𝛃b", 4));
            assert!(!testlook!(look, "b𝛃", 1));
            assert!(!testlook!(look, "𝛃 ", 5));
  11. info unicode-mixed-script src/util/look.rs:2128:35

    identifier `b𝛃` mixes scripts: Latin + Other (in string/comment) (raw pass, confidence 0.40)

            assert!(!testlook!(look, "𝛃b", 4));
            assert!(!testlook!(look, "b𝛃", 1));
            assert!(!testlook!(look, "𝛃 ", 5));
            assert!(!testlook!(look, " 𝛃 ", 0));
  12. info unicode-mixed-script src/util/look.rs:2180:35

    identifier `𝛃b` mixes scripts: Other + Latin (in string/comment) (raw pass, confidence 0.40)

            // Non word boundaries with a non-ASCII codepoint.
            assert!(!testlook!(look, "𝛃b", 4));
            assert!(!testlook!(look, "b𝛃", 1));
            assert!(!testlook!(look, "𝛃 ", 5));
  13. info unicode-mixed-script src/util/look.rs:2181:35

    identifier `b𝛃` mixes scripts: Latin + Other (in string/comment) (raw pass, confidence 0.40)

            assert!(!testlook!(look, "𝛃b", 4));
            assert!(!testlook!(look, "b𝛃", 1));
            assert!(!testlook!(look, "𝛃 ", 5));
            assert!(!testlook!(look, " 𝛃 ", 0));
  14. info unicode-mixed-script src/util/look.rs:2234:34

    identifier `𝛃b` mixes scripts: Other + Latin (in string/comment) (raw pass, confidence 0.40)

            // Non word boundaries with a non-ASCII codepoint.
            assert!(testlook!(look, "𝛃b", 4));
            assert!(!testlook!(look, "b𝛃", 1));
            assert!(testlook!(look, "𝛃 ", 5));
  15. info unicode-mixed-script src/util/look.rs:2235:35

    identifier `b𝛃` mixes scripts: Latin + Other (in string/comment) (raw pass, confidence 0.40)

            assert!(testlook!(look, "𝛃b", 4));
            assert!(!testlook!(look, "b𝛃", 1));
            assert!(testlook!(look, "𝛃 ", 5));
            assert!(testlook!(look, " 𝛃 ", 0));
  16. info unicode-mixed-script src/util/look.rs:2288:35

    identifier `𝛃b` mixes scripts: Other + Latin (in string/comment) (raw pass, confidence 0.40)

            // Non word boundaries with a non-ASCII codepoint.
            assert!(!testlook!(look, "𝛃b", 4));
            assert!(testlook!(look, "b𝛃", 1));
            assert!(testlook!(look, "𝛃 ", 5));
  17. info unicode-mixed-script src/util/look.rs:2289:34

    identifier `b𝛃` mixes scripts: Latin + Other (in string/comment) (raw pass, confidence 0.40)

            assert!(!testlook!(look, "𝛃b", 4));
            assert!(testlook!(look, "b𝛃", 1));
            assert!(testlook!(look, "𝛃 ", 5));
            assert!(testlook!(look, " 𝛃 ", 0));
  18. info unicode-mixed-script src/util/look.rs:2341:35

    identifier `𝛃b` mixes scripts: Other + Latin (in string/comment) (raw pass, confidence 0.40)

            // Non word boundaries with a non-ASCII codepoint.
            assert!(!testlook!(look, "𝛃b", 4));
            assert!(!testlook!(look, "b𝛃", 1));
            assert!(testlook!(look, "𝛃 ", 5));
  19. info unicode-mixed-script src/util/look.rs:2342:35

    identifier `b𝛃` mixes scripts: Latin + Other (in string/comment) (raw pass, confidence 0.40)

            assert!(!testlook!(look, "𝛃b", 4));
            assert!(!testlook!(look, "b𝛃", 1));
            assert!(testlook!(look, "𝛃 ", 5));
            assert!(testlook!(look, " 𝛃 ", 0));
  20. info unicode-mixed-script src/util/look.rs:2394:35

    identifier `𝛃b` mixes scripts: Other + Latin (in string/comment) (raw pass, confidence 0.40)

            // Non word boundaries with a non-ASCII codepoint.
            assert!(!testlook!(look, "𝛃b", 4));
            assert!(!testlook!(look, "b𝛃", 1));
            assert!(testlook!(look, "𝛃 ", 5));
  21. info unicode-mixed-script src/util/look.rs:2395:35

    identifier `b𝛃` mixes scripts: Latin + Other (in string/comment) (raw pass, confidence 0.40)

            assert!(!testlook!(look, "𝛃b", 4));
            assert!(!testlook!(look, "b𝛃", 1));
            assert!(testlook!(look, "𝛃 ", 5));
            assert!(testlook!(look, " 𝛃 ", 0));
  22. info unicode-mixed-script src/util/look.rs:2544:25

    identifier `rRbB𝛃𝚩` mixes scripts: Latin + Other (in string/comment) (raw pass, confidence 0.40)

            let res = alloc::format!("{:?}", LookSet::full());
            assert_eq!("Az^$rRbB𝛃𝚩<>〈〉◁▷◀▶", res);
        }
    }
  23. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ό', 'Ό'),
        ('Ύ', 'Ρ'),
        ('Σ', 'ϵ'),
        ('Ϸ', 'ҁ'),
  24. info unicode-mixed-script tests/hybrid/api.rs:73:22

    identifier `aβ` mixes scripts: Latin + Greek (in string/comment) (raw pass, confidence 0.40)

        // of 'β' and confirm that it gives up immediately.
        let pattern = r"[aβ]{99}";
        let dfa = DFA::builder()
            .configure(

Reproduce This Scan

Run disclude locally to verify. These commands scan the published file; the "new in this release" marks come from comparing it with the previous release's file, which they don't repeat. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.

cargo install disclude --version 4.3.0
curl -fsSL -o regex-automata-0.4.18.crate 'https://static.crates.io/crates/regex%2Dautomata/regex%2Dautomata-0%2E4%2E18.crate'
printf '%s  %s\n' ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2 regex-automata-0.4.18.crate | shasum -a 256 -c -
mkdir pkg && tar -xzf regex-automata-0.4.18.crate -C pkg --strip-components 1
disclude scan --untrusted --severity info pkg