Skip to content

Conversation

@tivac
Copy link
Collaborator

@tivac tivac commented Jul 31, 2022

One of the suggestions on #203 was to use :matches(...) around an array .join() which somehow got only... halfway implemented. The .join() was there, but it was missing the :matches(...) around it which could lead to some pretty bad false positives.

Added back the :matches(...) and added a few more valid test-cases to watch out for false-positives like this going forward.

tivac added 2 commits July 31, 2022 00:27
Previously it wasn't which meant the resulting query could match too many things.
Copy link
Member

@ota-meshi ota-meshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@ota-meshi ota-meshi merged commit ae139a7 into sveltejs:main Jul 31, 2022
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

Successfully merging this pull request may close these issues.

2 participants