Skip to content

Regex not excluding internal links #43

@JackMcKew

Description

@JackMcKew

Hey!

Thank you for this amazing tool!

I've tried using it to do the link verification of a static site generator package (packit.dev), but I want to exclude all internal links (eg, ones beginning with "/" or "{"). Here's the example: https://regex101.com/r/De199r/1

I've tried the regex in all sorts of ways, but it doesn't ever seem to exclude them, from my understanding this might be due to the time of evaluation (it checks the internal before it checks if it should exclude)

You can see all my attempts to get this working in this repo https://github.com/JackMcKew/packit.dev and subsequent github actions fired with the errors https://github.com/JackMcKew/packit.dev/actions

Maybe I'm making a silly error, but I'd love to be able to use this package for this purpose

Thank you!

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