Skip to content

Conversation

@amcasey
Copy link
Member

@amcasey amcasey commented May 18, 2021

The old version incorrectly matched anything with a leading or trailing slash. The empty segment should only be detected between two slashes. This made it much less likely that we'd take the fast path, especially on *nix.

The old version incorrectly matched anything with a leading or trailing
slash.  The empty segment should only be detected between two slashes.
@amcasey amcasey requested a review from rbuckton May 18, 2021 17:20
@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels May 18, 2021
@amcasey amcasey requested a review from DanielRosenwasser May 19, 2021 16:53
@amcasey amcasey merged commit 87d0b3e into microsoft:master May 20, 2021
@amcasey amcasey deleted the PathRegex branch May 20, 2021 17:54
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants