Skip to content

patterns.rs: wildcard-style keywords (.*) treated literally by contains() #239

Description

@jsnyder

Summary

In src/patterns.rs:44, keywords like stall.*event use .* syntax but combined.contains(kw) on line 114 treats them literally, not as regex patterns. The wildcard matching is inert.

Surfaced by CodeRabbit review of PR #236 (fmt sweep).

Suggested fix

Either use regex matching for wildcard keywords, or replace .* with a simpler glob/split approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions