Skip to content

Regex doesn't work in neomutt? #134

@sprnza

Description

@sprnza

Hi!
Thanks for the project!
I'm unable to setup urlscan to exclude mailto links:

macro index,pager \cu "<pipe-message> urlscan -scdE 'http.*'<enter>" "call urlscan to extract URLs out of a message"
macro attach,compose \cu "<pipe-entry> urlscan -scdE 'http.*'<enter>" "call urlscan to extract URLs out of a message"

When run from neomutt it still shows mailto links.
If I run from command line I get it working properly:

sdg-dell ➜ ~ cat /tmp/urls
https://google.com
mailto:example.com
https://google.com
sdg-dell ➜ ~ urlscan -cdnE 'http.*' /tmp/urls
https://google.com

What could be wrong with my setup?

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