Skip to content

Apropos creates useless regex when not passed a search #530

Closed
@SevereOverfl0w

Description

@SevereOverfl0w

(not (:case-sensitive? msg))
(update-in [:var-query :search] #(format "(?i:%s)" %))

If there is no search this will generate (?i:null) which doesn't match much. It should do a when around the search first.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions