Skip to content

Exclude regex is being negated #303

@lua-vr

Description

@lua-vr

I believe the if condition in line 207 is negated:

if (!reg.test(url)) {
return IS_MATCH.MATCH_BUT_EXCLUDE;
}

You would want to test if the exclusion regex matches the URL when returning IS_MATCH.MATCH_BUT_EXCLUDE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions