Skip to content

Faulty default regex - Takes $tag when preceded by tabs/spaces #710

@JustOptimize

Description

@JustOptimize

As the title says the issue is this:
image

It could be fixed by setting the default regex to this: (//|#|<!--|;|/\*|^|^[ \t]*(-|\d+.))[^\s]*($TAGS)
(If this change is made at this point you could add every QOL pulls like #481 if they don't break stuff)

After:
image

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