Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pattern for needle tag #6024

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Commits on Oct 28, 2024

  1. Fix pattern for needle tag

    Developer console showed me this error:
    
        Pattern attribute value ^[A-Za-z0-9-_]+$ is not a valid regular expression:
        Uncaught SyntaxError: Invalid regular expression: /^[A-Za-z0-9-_]+$/v:
        Invalid character class
    
    Apparently dashes have to be escaped. Moving it to the end of the character
    class (this would have fixed it for a perl regex) did not help.
    perlpunk committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    18f2730 View commit details
    Browse the repository at this point in the history