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

Unable to use ignore-re with start regex "^" #95

Open
alexander-schranz opened this issue Apr 10, 2022 · 0 comments
Open

Unable to use ignore-re with start regex "^" #95

alexander-schranz opened this issue Apr 10, 2022 · 0 comments

Comments

@alexander-schranz
Copy link

I think I'm missing something maybe escaping or something but I try to use:

html5validator index.html --ignore-re "^CSS: "

or

html5validator index.html --ignore-re "/^CSS: /"

to filter out messages like:

CSS: 'margin-block-end': Property 'margin-block-end' doesn't exist.

But both seems not to work I know something like CSS: works but that would also filter out messages when CSS: would be part of that message and not the start of the message. Maybe I just miss how I need to escape ^ correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant