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

Compile regexp once and optimize CUP regex #188

Merged
merged 2 commits into from
Jan 12, 2025

Conversation

ottokruse
Copy link
Contributor

Issue #, if available: N/A

Description of changes: Tweaked regular expressions so that they are compiled only once, and the CUP regular expression is slightly sharper now.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ottokruse ottokruse requested a review from hakanson January 10, 2025 10:10
src/cognito-verifier.ts Outdated Show resolved Hide resolved
@ottokruse ottokruse merged commit 750865a into awslabs:main Jan 12, 2025
1 check passed
@ottokruse ottokruse deleted the otto/compile-regexp branch January 12, 2025 14:20
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