Skip to content

Comments

feat: support for case-insensitive matches#34

Merged
crowlKats merged 10 commits intodenoland:mainfrom
crowlKats:168
Jul 31, 2024
Merged

feat: support for case-insensitive matches#34
crowlKats merged 10 commits intodenoland:mainfrom
crowlKats:168

Conversation

@crowlKats
Copy link
Member

@crowlKats crowlKats commented Jul 19, 2022

Implements whatwg/urlpattern#168
Closes #12

Copy link
Member

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

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

Please make the case flag an options bag

Copy link
Member

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

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

generate_matcher is going to significantly suffer here. It will be unable to generate matchers for case insensitive parts

@crowlKats
Copy link
Member Author

generate_matcher is going to significantly suffer here. It will be unable to generate matchers for case insensitive parts

thats a problem, but i dont think there is much we can do (I'd be happily proven wrong)

@vazexqi
Copy link

vazexqi commented Feb 28, 2023

@crowlKats @lucacasonato - Any chance that this might land in Deno? According to https://developer.mozilla.org/en-US/docs/Web/API/URLPattern#browser_compatibility Deno has everything else implemented according to the spec except for the ignoreCase feature.

@crowlKats crowlKats requested a review from lucacasonato July 28, 2024 21:13
Copy link
Member

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

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

LGTM

@crowlKats crowlKats merged commit 0594545 into denoland:main Jul 31, 2024
@crowlKats crowlKats deleted the 168 branch July 31, 2024 14:42
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.

Fix URLPatternResult#inputs behaviour

3 participants