crates.io / regex / 1.13.1

regex 1.13.1

Source
https://github.com/rust-lang/regex
Tag scanned
1.13.1
Compared with
1.13.0 (0 signals introduced since)
Files
259 scanned, 185 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 164 info
Scan time
0.6 s
LLM review
LLM review by claude-haiku-5-5 (Anthropic): nothing at warn or critical to review.
Disclude version
4.0.0
Scanned (UTC)
2026-10-14 20:23

Signals

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

  1. info unicode-mixed-script regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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 regex-automata/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(
  25. info unicode-homoglyph regex-lite/src/utf8.rs:146:26

    identifier `α` contains homoglyph candidates: α (03B1)→a (in string/comment) (raw pass, confidence 0.35)

            assert_eq!(vec!['☃', '☃'], d("☃☃"));
            assert_eq!(vec!['α', 'β', 'γ', 'δ', 'ε'], d("αβγδε"));
            assert_eq!(vec!['☃', '⛄', '⛇'], d("☃⛄⛇"));
            assert_eq!(vec!['𝗮', '𝗯', '𝗰', '𝗱', '𝗲'], d("𝗮𝗯𝗰𝗱𝗲"));
  26. identifier `ͱͳͷΐάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋ` contains homoglyph candidates: α (03B1)→a, η (03B7)→n, κ (03BA)→k, ν (03BD)→v (in string/comment) (raw pass, confidence 0.35)

    
            let letters = "ͱͳͷΐάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋ";
            assert_eq!(exact([letters]), e(letters));
        }
  27. info unicode-mixed-script regex-syntax/src/hir/literal.rs:2408:24

    identifier `ͱͳͷΐάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋ` mixes scripts: Greek + Latin (in string/comment) (raw pass, confidence 0.40)

    
            let letters = "ͱͳͷΐάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋ";
            assert_eq!(exact([letters]), e(letters));
        }
  28. identifier `Ε` contains homoglyph candidates: Ε (0395)→E (in string/comment) (raw pass, confidence 0.35)

            {
                assert_eq!(exact(["Δ", "Ε", "δ", "ε", "ϵ"]), e(r"(?i)[εδ]"));
            }
        }
  29. info unicode-mixed-script regex-syntax/src/hir/mod.rs:3871:25

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

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

                t("(?i)β"),
                hir_uclass(&[('Β', 'Β'), ('β', 'β'), ('ϐ', 'ϐ'),])
            );
  31. identifier `Β` contains homoglyph candidates: Β (0392)→B (in string/comment) (raw pass, confidence 0.35)

                t("(?i)β"),
                hir_uclass(&[('Β', 'Β'), ('β', 'β'), ('ϐ', 'ϐ'),])
            );
  32. identifier `Β` contains homoglyph candidates: Β (0392)→B (in string/comment) (raw pass, confidence 0.35)

                t("(?i)[β]"),
                hir_uclass(&[('Β', 'Β'), ('β', 'β'), ('ϐ', 'ϐ'),])
            );
            assert_eq!(t("(?i-u)[k]"), hir_bclass(&[(b'K', b'K'), (b'k', b'k'),]));
  33. identifier `Β` contains homoglyph candidates: Β (0392)→B (in string/comment) (raw pass, confidence 0.35)

                t("(?i)[β]"),
                hir_uclass(&[('Β', 'Β'), ('β', 'β'), ('ϐ', 'ϐ'),])
            );
            assert_eq!(t("(?i-u)[k]"), hir_bclass(&[(b'K', b'K'), (b'k', b'k'),]));
  34. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ό', 'Ό'),
        ('Ύ', 'Ρ'),
        ('Σ', 'ώ'),
        ('ϐ', 'ϖ'),
  35. identifier `Μ` contains homoglyph candidates: Μ (039C)→M (in string/comment) (raw pass, confidence 0.35)

        ('z', &['Z']),
        ('µ', &['Μ', 'μ']),
        ('À', &['à']),
        ('Á', &['á']),
  36. identifier `Α` contains homoglyph candidates: Α (0391)→A (in string/comment) (raw pass, confidence 0.35)

        ('ΐ', &['ΐ']),
        ('Α', &['α']),
        ('Β', &['β', 'ϐ']),
        ('Γ', &['γ']),
  37. identifier `α` contains homoglyph candidates: α (03B1)→a (in string/comment) (raw pass, confidence 0.35)

        ('ΐ', &['ΐ']),
        ('Α', &['α']),
        ('Β', &['β', 'ϐ']),
        ('Γ', &['γ']),
  38. identifier `Β` contains homoglyph candidates: Β (0392)→B (in string/comment) (raw pass, confidence 0.35)

        ('Α', &['α']),
        ('Β', &['β', 'ϐ']),
        ('Γ', &['γ']),
        ('Δ', &['δ']),
  39. identifier `Ε` contains homoglyph candidates: Ε (0395)→E (in string/comment) (raw pass, confidence 0.35)

        ('Δ', &['δ']),
        ('Ε', &['ε', 'ϵ']),
        ('Ζ', &['ζ']),
        ('Η', &['η']),
  40. identifier `Η` contains homoglyph candidates: Η (0397)→H (in string/comment) (raw pass, confidence 0.35)

        ('Ζ', &['ζ']),
        ('Η', &['η']),
        ('Θ', &['θ', 'ϑ', 'ϴ']),
        ('Ι', &['\u{345}', 'ι', 'ι']),
  41. identifier `η` contains homoglyph candidates: η (03B7)→n (in string/comment) (raw pass, confidence 0.35)

        ('Ζ', &['ζ']),
        ('Η', &['η']),
        ('Θ', &['θ', 'ϑ', 'ϴ']),
        ('Ι', &['\u{345}', 'ι', 'ι']),
  42. identifier `Κ` contains homoglyph candidates: Κ (039A)→K (in string/comment) (raw pass, confidence 0.35)

        ('Ι', &['\u{345}', 'ι', 'ι']),
        ('Κ', &['κ', 'ϰ']),
        ('Λ', &['λ']),
        ('Μ', &['µ', 'μ']),
  43. identifier `κ` contains homoglyph candidates: κ (03BA)→k (in string/comment) (raw pass, confidence 0.35)

        ('Ι', &['\u{345}', 'ι', 'ι']),
        ('Κ', &['κ', 'ϰ']),
        ('Λ', &['λ']),
        ('Μ', &['µ', 'μ']),
  44. identifier `Μ` contains homoglyph candidates: Μ (039C)→M (in string/comment) (raw pass, confidence 0.35)

        ('Λ', &['λ']),
        ('Μ', &['µ', 'μ']),
        ('Ν', &['ν']),
        ('Ξ', &['ξ']),
  45. identifier `Ν` contains homoglyph candidates: Ν (039D)→N (in string/comment) (raw pass, confidence 0.35)

        ('Μ', &['µ', 'μ']),
        ('Ν', &['ν']),
        ('Ξ', &['ξ']),
        ('Ο', &['ο']),
  46. identifier `ν` contains homoglyph candidates: ν (03BD)→v (in string/comment) (raw pass, confidence 0.35)

        ('Μ', &['µ', 'μ']),
        ('Ν', &['ν']),
        ('Ξ', &['ξ']),
        ('Ο', &['ο']),
  47. identifier `Ο` contains homoglyph candidates: Ο (039F)→O (in string/comment) (raw pass, confidence 0.35)

        ('Ξ', &['ξ']),
        ('Ο', &['ο']),
        ('Π', &['π', 'ϖ']),
        ('Ρ', &['ρ', 'ϱ']),
  48. identifier `ο` contains homoglyph candidates: ο (03BF)→o (in string/comment) (raw pass, confidence 0.35)

        ('Ξ', &['ξ']),
        ('Ο', &['ο']),
        ('Π', &['π', 'ϖ']),
        ('Ρ', &['ρ', 'ϱ']),
  49. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Π', &['π', 'ϖ']),
        ('Ρ', &['ρ', 'ϱ']),
        ('Σ', &['ς', 'σ']),
        ('Τ', &['τ']),
  50. identifier `ρ` contains homoglyph candidates: ρ (03C1)→p (in string/comment) (raw pass, confidence 0.35)

        ('Π', &['π', 'ϖ']),
        ('Ρ', &['ρ', 'ϱ']),
        ('Σ', &['ς', 'σ']),
        ('Τ', &['τ']),
  51. identifier `Τ` contains homoglyph candidates: Τ (03A4)→T (in string/comment) (raw pass, confidence 0.35)

        ('Σ', &['ς', 'σ']),
        ('Τ', &['τ']),
        ('Υ', &['υ']),
        ('Φ', &['φ', 'ϕ']),
  52. identifier `Υ` contains homoglyph candidates: Υ (03A5)→Y (in string/comment) (raw pass, confidence 0.35)

        ('Τ', &['τ']),
        ('Υ', &['υ']),
        ('Φ', &['φ', 'ϕ']),
        ('Χ', &['χ']),
  53. identifier `Χ` contains homoglyph candidates: Χ (03A7)→X (in string/comment) (raw pass, confidence 0.35)

        ('Φ', &['φ', 'ϕ']),
        ('Χ', &['χ']),
        ('Ψ', &['ψ']),
        ('Ω', &['ω', 'Ω']),
  54. identifier `α` contains homoglyph candidates: α (03B1)→a (in string/comment) (raw pass, confidence 0.35)

        ('ΰ', &['ΰ']),
        ('α', &['Α']),
        ('β', &['Β', 'ϐ']),
        ('γ', &['Γ']),
  55. identifier `Α` contains homoglyph candidates: Α (0391)→A (in string/comment) (raw pass, confidence 0.35)

        ('ΰ', &['ΰ']),
        ('α', &['Α']),
        ('β', &['Β', 'ϐ']),
        ('γ', &['Γ']),
  56. identifier `Β` contains homoglyph candidates: Β (0392)→B (in string/comment) (raw pass, confidence 0.35)

        ('α', &['Α']),
        ('β', &['Β', 'ϐ']),
        ('γ', &['Γ']),
        ('δ', &['Δ']),
  57. identifier `Ε` contains homoglyph candidates: Ε (0395)→E (in string/comment) (raw pass, confidence 0.35)

        ('δ', &['Δ']),
        ('ε', &['Ε', 'ϵ']),
        ('ζ', &['Ζ']),
        ('η', &['Η']),
  58. identifier `η` contains homoglyph candidates: η (03B7)→n (in string/comment) (raw pass, confidence 0.35)

        ('ζ', &['Ζ']),
        ('η', &['Η']),
        ('θ', &['Θ', 'ϑ', 'ϴ']),
        ('ι', &['\u{345}', 'Ι', 'ι']),
  59. identifier `Η` contains homoglyph candidates: Η (0397)→H (in string/comment) (raw pass, confidence 0.35)

        ('ζ', &['Ζ']),
        ('η', &['Η']),
        ('θ', &['Θ', 'ϑ', 'ϴ']),
        ('ι', &['\u{345}', 'Ι', 'ι']),
  60. identifier `κ` contains homoglyph candidates: κ (03BA)→k (in string/comment) (raw pass, confidence 0.35)

        ('ι', &['\u{345}', 'Ι', 'ι']),
        ('κ', &['Κ', 'ϰ']),
        ('λ', &['Λ']),
        ('μ', &['µ', 'Μ']),
  61. identifier `Κ` contains homoglyph candidates: Κ (039A)→K (in string/comment) (raw pass, confidence 0.35)

        ('ι', &['\u{345}', 'Ι', 'ι']),
        ('κ', &['Κ', 'ϰ']),
        ('λ', &['Λ']),
        ('μ', &['µ', 'Μ']),
  62. identifier `Μ` contains homoglyph candidates: Μ (039C)→M (in string/comment) (raw pass, confidence 0.35)

        ('λ', &['Λ']),
        ('μ', &['µ', 'Μ']),
        ('ν', &['Ν']),
        ('ξ', &['Ξ']),
  63. identifier `ν` contains homoglyph candidates: ν (03BD)→v (in string/comment) (raw pass, confidence 0.35)

        ('μ', &['µ', 'Μ']),
        ('ν', &['Ν']),
        ('ξ', &['Ξ']),
        ('ο', &['Ο']),
  64. identifier `Ν` contains homoglyph candidates: Ν (039D)→N (in string/comment) (raw pass, confidence 0.35)

        ('μ', &['µ', 'Μ']),
        ('ν', &['Ν']),
        ('ξ', &['Ξ']),
        ('ο', &['Ο']),
  65. identifier `ο` contains homoglyph candidates: ο (03BF)→o (in string/comment) (raw pass, confidence 0.35)

        ('ξ', &['Ξ']),
        ('ο', &['Ο']),
        ('π', &['Π', 'ϖ']),
        ('ρ', &['Ρ', 'ϱ']),
  66. identifier `Ο` contains homoglyph candidates: Ο (039F)→O (in string/comment) (raw pass, confidence 0.35)

        ('ξ', &['Ξ']),
        ('ο', &['Ο']),
        ('π', &['Π', 'ϖ']),
        ('ρ', &['Ρ', 'ϱ']),
  67. identifier `ρ` contains homoglyph candidates: ρ (03C1)→p (in string/comment) (raw pass, confidence 0.35)

        ('π', &['Π', 'ϖ']),
        ('ρ', &['Ρ', 'ϱ']),
        ('ς', &['Σ', 'σ']),
        ('σ', &['Σ', 'ς']),
  68. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('π', &['Π', 'ϖ']),
        ('ρ', &['Ρ', 'ϱ']),
        ('ς', &['Σ', 'σ']),
        ('σ', &['Σ', 'ς']),
  69. identifier `Τ` contains homoglyph candidates: Τ (03A4)→T (in string/comment) (raw pass, confidence 0.35)

        ('σ', &['Σ', 'ς']),
        ('τ', &['Τ']),
        ('υ', &['Υ']),
        ('φ', &['Φ', 'ϕ']),
  70. identifier `Υ` contains homoglyph candidates: Υ (03A5)→Y (in string/comment) (raw pass, confidence 0.35)

        ('τ', &['Τ']),
        ('υ', &['Υ']),
        ('φ', &['Φ', 'ϕ']),
        ('χ', &['Χ']),
  71. identifier `Χ` contains homoglyph candidates: Χ (03A7)→X (in string/comment) (raw pass, confidence 0.35)

        ('φ', &['Φ', 'ϕ']),
        ('χ', &['Χ']),
        ('ψ', &['Ψ']),
        ('ω', &['Ω', 'Ω']),
  72. identifier `Β` contains homoglyph candidates: Β (0392)→B (in string/comment) (raw pass, confidence 0.35)

        ('Ϗ', &['ϗ']),
        ('ϐ', &['Β', 'β']),
        ('ϑ', &['Θ', 'θ', 'ϴ']),
        ('ϕ', &['Φ', 'φ']),
  73. identifier `Κ` contains homoglyph candidates: Κ (039A)→K (in string/comment) (raw pass, confidence 0.35)

        ('ϯ', &['Ϯ']),
        ('ϰ', &['Κ', 'κ']),
        ('ϱ', &['Ρ', 'ρ']),
        ('ϲ', &['Ϲ']),
  74. identifier `κ` contains homoglyph candidates: κ (03BA)→k (in string/comment) (raw pass, confidence 0.35)

        ('ϯ', &['Ϯ']),
        ('ϰ', &['Κ', 'κ']),
        ('ϱ', &['Ρ', 'ρ']),
        ('ϲ', &['Ϲ']),
  75. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('ϰ', &['Κ', 'κ']),
        ('ϱ', &['Ρ', 'ρ']),
        ('ϲ', &['Ϲ']),
        ('ϳ', &['Ϳ']),
  76. identifier `ρ` contains homoglyph candidates: ρ (03C1)→p (in string/comment) (raw pass, confidence 0.35)

        ('ϰ', &['Κ', 'κ']),
        ('ϱ', &['Ρ', 'ρ']),
        ('ϲ', &['Ϲ']),
        ('ϳ', &['Ϳ']),
  77. identifier `Ε` contains homoglyph candidates: Ε (0395)→E (in string/comment) (raw pass, confidence 0.35)

        ('ϴ', &['Θ', 'θ', 'ϑ']),
        ('ϵ', &['Ε', 'ε']),
        ('Ϸ', &['ϸ']),
        ('ϸ', &['Ϸ']),
  78. identifier `і` contains homoglyph candidates: і (0456)→i (in string/comment) (raw pass, confidence 0.35)

        ('Ѕ', &['ѕ']),
        ('І', &['і']),
        ('Ї', &['ї']),
        ('Ј', &['ј']),
  79. identifier `А` contains homoglyph candidates: А (0410)→A (in string/comment) (raw pass, confidence 0.35)

        ('Џ', &['џ']),
        ('А', &['а']),
        ('Б', &['б']),
        ('В', &['в', 'ᲀ']),
  80. identifier `а` contains homoglyph candidates: а (0430)→a (in string/comment) (raw pass, confidence 0.35)

        ('Џ', &['џ']),
        ('А', &['а']),
        ('Б', &['б']),
        ('В', &['в', 'ᲀ']),
  81. identifier `В` contains homoglyph candidates: В (0412)→B (in string/comment) (raw pass, confidence 0.35)

        ('Б', &['б']),
        ('В', &['в', 'ᲀ']),
        ('Г', &['г']),
        ('Д', &['д', 'ᲁ']),
  82. identifier `Е` contains homoglyph candidates: Е (0415)→E (in string/comment) (raw pass, confidence 0.35)

        ('Д', &['д', 'ᲁ']),
        ('Е', &['е']),
        ('Ж', &['ж']),
        ('З', &['з']),
  83. identifier `е` contains homoglyph candidates: е (0435)→e (in string/comment) (raw pass, confidence 0.35)

        ('Д', &['д', 'ᲁ']),
        ('Е', &['е']),
        ('Ж', &['ж']),
        ('З', &['з']),
  84. identifier `К` contains homoglyph candidates: К (041A)→K (in string/comment) (raw pass, confidence 0.35)

        ('Й', &['й']),
        ('К', &['к']),
        ('Л', &['л']),
        ('М', &['м']),
  85. identifier `М` contains homoglyph candidates: М (041C)→M (in string/comment) (raw pass, confidence 0.35)

        ('Л', &['л']),
        ('М', &['м']),
        ('Н', &['н']),
        ('О', &['о', 'ᲂ']),
  86. identifier `Н` contains homoglyph candidates: Н (041D)→H (in string/comment) (raw pass, confidence 0.35)

        ('М', &['м']),
        ('Н', &['н']),
        ('О', &['о', 'ᲂ']),
        ('П', &['п']),
  87. identifier `О` contains homoglyph candidates: О (041E)→O (in string/comment) (raw pass, confidence 0.35)

        ('Н', &['н']),
        ('О', &['о', 'ᲂ']),
        ('П', &['п']),
        ('Р', &['р']),
  88. identifier `о` contains homoglyph candidates: о (043E)→o (in string/comment) (raw pass, confidence 0.35)

        ('Н', &['н']),
        ('О', &['о', 'ᲂ']),
        ('П', &['п']),
        ('Р', &['р']),
  89. identifier `Р` contains homoglyph candidates: Р (0420)→P (in string/comment) (raw pass, confidence 0.35)

        ('П', &['п']),
        ('Р', &['р']),
        ('С', &['с', 'ᲃ']),
        ('Т', &['т', 'ᲄ', 'ᲅ']),
  90. identifier `р` contains homoglyph candidates: р (0440)→p (in string/comment) (raw pass, confidence 0.35)

        ('П', &['п']),
        ('Р', &['р']),
        ('С', &['с', 'ᲃ']),
        ('Т', &['т', 'ᲄ', 'ᲅ']),
  91. identifier `С` contains homoglyph candidates: С (0421)→C (in string/comment) (raw pass, confidence 0.35)

        ('Р', &['р']),
        ('С', &['с', 'ᲃ']),
        ('Т', &['т', 'ᲄ', 'ᲅ']),
        ('У', &['у']),
  92. identifier `с` contains homoglyph candidates: с (0441)→c (in string/comment) (raw pass, confidence 0.35)

        ('Р', &['р']),
        ('С', &['с', 'ᲃ']),
        ('Т', &['т', 'ᲄ', 'ᲅ']),
        ('У', &['у']),
  93. identifier `Т` contains homoglyph candidates: Т (0422)→T (in string/comment) (raw pass, confidence 0.35)

        ('С', &['с', 'ᲃ']),
        ('Т', &['т', 'ᲄ', 'ᲅ']),
        ('У', &['у']),
        ('Ф', &['ф']),
  94. identifier `у` contains homoglyph candidates: у (0443)→y (in string/comment) (raw pass, confidence 0.35)

        ('Т', &['т', 'ᲄ', 'ᲅ']),
        ('У', &['у']),
        ('Ф', &['ф']),
        ('Х', &['х']),
  95. identifier `Х` contains homoglyph candidates: Х (0425)→X (in string/comment) (raw pass, confidence 0.35)

        ('Ф', &['ф']),
        ('Х', &['х']),
        ('Ц', &['ц']),
        ('Ч', &['ч']),
  96. identifier `х` contains homoglyph candidates: х (0445)→x (in string/comment) (raw pass, confidence 0.35)

        ('Ф', &['ф']),
        ('Х', &['х']),
        ('Ц', &['ц']),
        ('Ч', &['ч']),
  97. identifier `а` contains homoglyph candidates: а (0430)→a (in string/comment) (raw pass, confidence 0.35)

        ('Я', &['я']),
        ('а', &['А']),
        ('б', &['Б']),
        ('в', &['В', 'ᲀ']),
  98. identifier `А` contains homoglyph candidates: А (0410)→A (in string/comment) (raw pass, confidence 0.35)

        ('Я', &['я']),
        ('а', &['А']),
        ('б', &['Б']),
        ('в', &['В', 'ᲀ']),
  99. identifier `В` contains homoglyph candidates: В (0412)→B (in string/comment) (raw pass, confidence 0.35)

        ('б', &['Б']),
        ('в', &['В', 'ᲀ']),
        ('г', &['Г']),
        ('д', &['Д', 'ᲁ']),
  100. identifier `е` contains homoglyph candidates: е (0435)→e (in string/comment) (raw pass, confidence 0.35)

        ('д', &['Д', 'ᲁ']),
        ('е', &['Е']),
        ('ж', &['Ж']),
        ('з', &['З']),
  101. identifier `Е` contains homoglyph candidates: Е (0415)→E (in string/comment) (raw pass, confidence 0.35)

        ('д', &['Д', 'ᲁ']),
        ('е', &['Е']),
        ('ж', &['Ж']),
        ('з', &['З']),
  102. identifier `К` contains homoglyph candidates: К (041A)→K (in string/comment) (raw pass, confidence 0.35)

        ('й', &['Й']),
        ('к', &['К']),
        ('л', &['Л']),
        ('м', &['М']),
  103. identifier `М` contains homoglyph candidates: М (041C)→M (in string/comment) (raw pass, confidence 0.35)

        ('л', &['Л']),
        ('м', &['М']),
        ('н', &['Н']),
        ('о', &['О', 'ᲂ']),
  104. identifier `Н` contains homoglyph candidates: Н (041D)→H (in string/comment) (raw pass, confidence 0.35)

        ('м', &['М']),
        ('н', &['Н']),
        ('о', &['О', 'ᲂ']),
        ('п', &['П']),
  105. identifier `о` contains homoglyph candidates: о (043E)→o (in string/comment) (raw pass, confidence 0.35)

        ('н', &['Н']),
        ('о', &['О', 'ᲂ']),
        ('п', &['П']),
        ('р', &['Р']),
  106. identifier `О` contains homoglyph candidates: О (041E)→O (in string/comment) (raw pass, confidence 0.35)

        ('н', &['Н']),
        ('о', &['О', 'ᲂ']),
        ('п', &['П']),
        ('р', &['Р']),
  107. identifier `р` contains homoglyph candidates: р (0440)→p (in string/comment) (raw pass, confidence 0.35)

        ('п', &['П']),
        ('р', &['Р']),
        ('с', &['С', 'ᲃ']),
        ('т', &['Т', 'ᲄ', 'ᲅ']),
  108. identifier `Р` contains homoglyph candidates: Р (0420)→P (in string/comment) (raw pass, confidence 0.35)

        ('п', &['П']),
        ('р', &['Р']),
        ('с', &['С', 'ᲃ']),
        ('т', &['Т', 'ᲄ', 'ᲅ']),
  109. identifier `с` contains homoglyph candidates: с (0441)→c (in string/comment) (raw pass, confidence 0.35)

        ('р', &['Р']),
        ('с', &['С', 'ᲃ']),
        ('т', &['Т', 'ᲄ', 'ᲅ']),
        ('у', &['У']),
  110. identifier `С` contains homoglyph candidates: С (0421)→C (in string/comment) (raw pass, confidence 0.35)

        ('р', &['Р']),
        ('с', &['С', 'ᲃ']),
        ('т', &['Т', 'ᲄ', 'ᲅ']),
        ('у', &['У']),
  111. identifier `Т` contains homoglyph candidates: Т (0422)→T (in string/comment) (raw pass, confidence 0.35)

        ('с', &['С', 'ᲃ']),
        ('т', &['Т', 'ᲄ', 'ᲅ']),
        ('у', &['У']),
        ('ф', &['Ф']),
  112. identifier `у` contains homoglyph candidates: у (0443)→y (in string/comment) (raw pass, confidence 0.35)

        ('т', &['Т', 'ᲄ', 'ᲅ']),
        ('у', &['У']),
        ('ф', &['Ф']),
        ('х', &['Х']),
  113. identifier `х` contains homoglyph candidates: х (0445)→x (in string/comment) (raw pass, confidence 0.35)

        ('ф', &['Ф']),
        ('х', &['Х']),
        ('ц', &['Ц']),
        ('ч', &['Ч']),
  114. identifier `Х` contains homoglyph candidates: Х (0425)→X (in string/comment) (raw pass, confidence 0.35)

        ('ф', &['Ф']),
        ('х', &['Х']),
        ('ц', &['Ц']),
        ('ч', &['Ч']),
  115. identifier `і` contains homoglyph candidates: і (0456)→i (in string/comment) (raw pass, confidence 0.35)

        ('ѕ', &['Ѕ']),
        ('і', &['І']),
        ('ї', &['Ї']),
        ('ј', &['Ј']),
  116. identifier `В` contains homoglyph candidates: В (0412)→B (in string/comment) (raw pass, confidence 0.35)

        ('ᏽ', &['Ᏽ']),
        ('ᲀ', &['В', 'в']),
        ('ᲁ', &['Д', 'д']),
        ('ᲂ', &['О', 'о']),
  117. identifier `О` contains homoglyph candidates: О (041E)→O (in string/comment) (raw pass, confidence 0.35)

        ('ᲁ', &['Д', 'д']),
        ('ᲂ', &['О', 'о']),
        ('ᲃ', &['С', 'с']),
        ('ᲄ', &['Т', 'т', 'ᲅ']),
  118. identifier `о` contains homoglyph candidates: о (043E)→o (in string/comment) (raw pass, confidence 0.35)

        ('ᲁ', &['Д', 'д']),
        ('ᲂ', &['О', 'о']),
        ('ᲃ', &['С', 'с']),
        ('ᲄ', &['Т', 'т', 'ᲅ']),
  119. identifier `С` contains homoglyph candidates: С (0421)→C (in string/comment) (raw pass, confidence 0.35)

        ('ᲂ', &['О', 'о']),
        ('ᲃ', &['С', 'с']),
        ('ᲄ', &['Т', 'т', 'ᲅ']),
        ('ᲅ', &['Т', 'т', 'ᲄ']),
  120. identifier `с` contains homoglyph candidates: с (0441)→c (in string/comment) (raw pass, confidence 0.35)

        ('ᲂ', &['О', 'о']),
        ('ᲃ', &['С', 'с']),
        ('ᲄ', &['Т', 'т', 'ᲅ']),
        ('ᲅ', &['Т', 'т', 'ᲄ']),
  121. identifier `Т` contains homoglyph candidates: Т (0422)→T (in string/comment) (raw pass, confidence 0.35)

        ('ᲃ', &['С', 'с']),
        ('ᲄ', &['Т', 'т', 'ᲅ']),
        ('ᲅ', &['Т', 'т', 'ᲄ']),
        ('ᲆ', &['Ъ', 'ъ']),
  122. identifier `Т` contains homoglyph candidates: Т (0422)→T (in string/comment) (raw pass, confidence 0.35)

        ('ᲄ', &['Т', 'т', 'ᲅ']),
        ('ᲅ', &['Т', 'т', 'ᲄ']),
        ('ᲆ', &['Ъ', 'ъ']),
        ('ᲇ', &['Ѣ', 'ѣ']),
  123. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ό', 'Ό'),
        ('Ύ', 'Ρ'),
        ('Σ', 'ϵ'),
        ('Ϸ', 'ҁ'),
  124. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ό', 'Ό'),
        ('Ύ', 'Ρ'),
        ('Σ', 'ϵ'),
        ('Ϸ', 'ҁ'),
  125. identifier `а` contains homoglyph candidates: а (0430)→a (in string/comment) (raw pass, confidence 0.35)

        ('ϻ', 'ϼ'),
        ('а', 'џ'),
        ('ѡ', 'ѡ'),
        ('ѣ', 'ѣ'),
  126. identifier `Α` contains homoglyph candidates: Α (0391)→A (in string/comment) (raw pass, confidence 0.35)

        ('Ύ', 'Ώ'),
        ('Α', 'Ρ'),
        ('Σ', 'Ϋ'),
        ('Ϗ', 'Ϗ'),
  127. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ύ', 'Ώ'),
        ('Α', 'Ρ'),
        ('Σ', 'Ϋ'),
        ('Ϗ', 'Ϗ'),
  128. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ό', 'Ό'),
        ('Ύ', 'Ρ'),
        ('Σ', 'ϵ'),
        ('Ϸ', 'ҁ'),
  129. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ό', 'Ό'),
        ('Ύ', 'Ρ'),
        ('Σ', 'ϵ'),
        ('Ϸ', 'ҁ'),
  130. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ό', 'Ό'),
        ('Ύ', 'Ρ'),
        ('Σ', 'ϵ'),
        ('Ϸ', 'ҁ'),
  131. identifier `Α` contains homoglyph candidates: Α (0391)→A (in string/comment) (raw pass, confidence 0.35)

        ('Ύ', 'Ώ'),
        ('Α', 'Ρ'),
        ('Σ', 'Ϋ'),
        ('ς', 'ς'),
  132. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ύ', 'Ώ'),
        ('Α', 'Ρ'),
        ('Σ', 'Ϋ'),
        ('ς', 'ς'),
  133. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ό', 'Ό'),
        ('Ύ', 'Ρ'),
        ('Σ', 'ϑ'),
        ('ϕ', 'ϵ'),
  134. identifier `Α` contains homoglyph candidates: Α (0391)→A (in string/comment) (raw pass, confidence 0.35)

        ('Ύ', 'Ώ'),
        ('Α', 'Ρ'),
        ('Σ', 'Ϋ'),
        ('Ϗ', 'Ϗ'),
  135. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ύ', 'Ώ'),
        ('Α', 'Ρ'),
        ('Σ', 'Ϋ'),
        ('Ϗ', 'Ϗ'),
  136. identifier `а` contains homoglyph candidates: а (0430)→a (in string/comment) (raw pass, confidence 0.35)

        ('ϻ', 'ϻ'),
        ('а', 'џ'),
        ('ѡ', 'ѡ'),
        ('ѣ', 'ѣ'),
  137. identifier `а` contains homoglyph candidates: а (0430)→a (in string/comment) (raw pass, confidence 0.35)

        ('ϻ', 'ϻ'),
        ('а', 'џ'),
        ('ѡ', 'ѡ'),
        ('ѣ', 'ѣ'),
  138. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ό', 'Ό'),
        ('Ύ', 'Ρ'),
        ('Σ', '҂'),
        ('Ҋ', 'ԯ'),
  139. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ό', 'Ό'),
        ('Ύ', 'Ρ'),
        ('Σ', 'ϵ'),
        ('Ϸ', 'ҁ'),
  140. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ό', 'Ό'),
        ('Ύ', 'Ρ'),
        ('Σ', 'ϵ'),
        ('Ϸ', 'ҁ'),
  141. identifier `а` contains homoglyph candidates: а (0430)→a (in string/comment) (raw pass, confidence 0.35)

        ('ϻ', 'ϼ'),
        ('а', 'џ'),
        ('ѡ', 'ѡ'),
        ('ѣ', 'ѣ'),
  142. identifier `і` contains homoglyph candidates: і (0456)→i (in string/comment) (raw pass, confidence 0.35)

        ('ϳ', 'ϳ'),
        ('і', 'і'),
        ('ј', 'ј'),
        ('ᵢ', 'ᵢ'),
  143. identifier `і` contains homoglyph candidates: і (0456)→i (in string/comment) (raw pass, confidence 0.35)

        ('ϳ', 'ϳ'),
        ('і', 'і'),
        ('ј', 'ј'),
        ('ᵢ', 'ᵢ'),
  144. identifier `Α` contains homoglyph candidates: Α (0391)→A (in string/comment) (raw pass, confidence 0.35)

        ('Ύ', 'Ώ'),
        ('Α', 'Ρ'),
        ('Σ', 'Ϋ'),
        ('Ϗ', 'Ϗ'),
  145. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ύ', 'Ώ'),
        ('Α', 'Ρ'),
        ('Σ', 'Ϋ'),
        ('Ϗ', 'Ϗ'),
  146. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ό', 'Ό'),
        ('Ύ', 'Ρ'),
        ('Σ', 'ϵ'),
        ('Ϸ', 'ҁ'),
  147. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ό', 'Ό'),
        ('Ύ', 'Ρ'),
        ('Σ', 'ϵ'),
        ('Ϸ', 'ҁ'),
  148. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ό', 'Ό'),
        ('Ύ', 'Ρ'),
        ('Σ', 'ϡ'),
        ('ϰ', 'Ͽ'),
  149. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ό', 'Ό'),
        ('Ύ', 'Ρ'),
        ('Σ', 'ϡ'),
        ('ϰ', 'Ͽ'),
  150. identifier `а` contains homoglyph candidates: а (0430)→a (in string/comment) (raw pass, confidence 0.35)

        ('ϻ', 'ϼ'),
        ('а', 'џ'),
        ('ѡ', 'ѡ'),
        ('ѣ', 'ѣ'),
  151. identifier `Α` contains homoglyph candidates: Α (0391)→A (in string/comment) (raw pass, confidence 0.35)

        ('Ύ', 'Ώ'),
        ('Α', 'Ρ'),
        ('Σ', 'Ϋ'),
        ('Ϗ', 'Ϗ'),
  152. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ύ', 'Ώ'),
        ('Α', 'Ρ'),
        ('Σ', 'Ϋ'),
        ('Ϗ', 'Ϗ'),
  153. identifier `Ρ` contains homoglyph candidates: Ρ (03A1)→P (in string/comment) (raw pass, confidence 0.35)

        ('Ό', 'Ό'),
        ('Ύ', 'Ρ'),
        ('Σ', 'ϵ'),
        ('Ϸ', 'ҁ'),
  154. info encoding-hex src/bytes.rs:43:13

    16 consecutive `\xNN` escapes (entropy 3.9 bits/byte) (in comment) (raw pass, confidence 0.39)

    ).unwrap();
    let hay = b"\x12\xd0\x3b\x5f\x7b\xa9\x85\xe2\x98\x83\x80\x98\x54\x76\x68\x65";
    
    // Notice that despite the `.*` at the end, it will only match valid UTF-8
  155. info unicode-mixed-script src/lib.rs:611:18

    identifier `abcΔᎠβⅠᏴγδⅡxyz` mixes scripts: Latin + Greek + Other (in string/comment) (raw pass, confidence 0.40)

    let re = Regex::new(r"[\pN\p{Greek}\p{Cherokee}]+").unwrap();
    let m = re.find("abcΔᎠβⅠᏴγδⅡxyz").unwrap();
    assert_eq!(3..23, m.range());
    ```
  156. info unicode-mixed-script src/lib.rs:626:37

    identifier `ΔδΔ𐅌ΔδΔ` mixes scripts: Greek + Other (in string/comment) (raw pass, confidence 0.40)

    let re = Regex::new(r"[\p{Greek}&&\pL]+").unwrap();
    let subs: Vec<&str> = re.find_iter("ΔδΔ𐅌ΔδΔ").map(|m| m.as_str()).collect();
    assert_eq!(subs, vec!["ΔδΔ", "ΔδΔ"]);
  157. info unicode-mixed-script src/lib.rs:631:37

    identifier `ΔδΔ𐅌ΔδΔ` mixes scripts: Greek + Other (in string/comment) (raw pass, confidence 0.40)

    let re = Regex::new(r"\p{Greek}+").unwrap();
    let subs: Vec<&str> = re.find_iter("ΔδΔ𐅌ΔδΔ").map(|m| m.as_str()).collect();
    assert_eq!(subs, vec!["ΔδΔ𐅌ΔδΔ"]);
    ```
  158. info unicode-mixed-script src/lib.rs:632:24

    identifier `ΔδΔ𐅌ΔδΔ` mixes scripts: Greek + Other (in string/comment) (raw pass, confidence 0.40)

    let subs: Vec<&str> = re.find_iter("ΔδΔ𐅌ΔδΔ").map(|m| m.as_str()).collect();
    assert_eq!(subs, vec!["ΔδΔ𐅌ΔδΔ"]);
    ```
  159. info unicode-mixed-script src/regexset/bytes.rs:579:20

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

        /// ]).unwrap();
        /// let hay = "βa1".as_bytes();
        /// let matches: Vec<_> = set.matches(hay).iter().collect();
        /// assert_eq!(matches, vec![0, 1, 3]);
  160. info unicode-mixed-script src/regexset/bytes.rs:596:20

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

        /// ]).unwrap();
        /// let hay = "βa1".as_bytes();
        /// let mut matches = vec![];
        /// for index in set.matches(hay) {
  161. info unicode-mixed-script src/regexset/bytes.rs:648:16

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

    /// ]).unwrap();
    /// let hay = "βa1".as_bytes();
    /// let mut matches = vec![];
    /// for index in set.matches(hay) {
  162. info unicode-mixed-script src/regexset/string.rs:575:20

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

        /// ]).unwrap();
        /// let hay = "βa1";
        /// let matches: Vec<_> = set.matches(hay).iter().collect();
        /// assert_eq!(matches, vec![0, 1, 3]);
  163. info unicode-mixed-script src/regexset/string.rs:592:20

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

        /// ]).unwrap();
        /// let hay = "βa1";
        /// let mut matches = vec![];
        /// for index in set.matches(hay) {
  164. info unicode-mixed-script src/regexset/string.rs:644:16

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

    /// ]).unwrap();
    /// let hay = "βa1";
    /// let mut matches = vec![];
    /// for index in set.matches(hay) {

Reproduce This Scan

Run disclude locally to verify. 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.0.0
git clone https://github.com/rust-lang/regex regex && cd regex
git checkout 1.13.1
disclude scan --severity info --diff 1.13.0 .