Skip to content

Fix linkedin regex acceptance (issue #1507) #3330

Merged
idoshamun merged 4 commits intodailydotdev:mainfrom
Wtkane:regexissue
Dec 17, 2025
Merged

Fix linkedin regex acceptance (issue #1507) #3330
idoshamun merged 4 commits intodailydotdev:mainfrom
Wtkane:regexissue

Conversation

@Wtkane
Copy link
Copy Markdown
Contributor

@Wtkane Wtkane commented Dec 9, 2025

Changes

  • fix issue 🐛 BUG: accented characters not being accepted in the app for handles daily#1507
  • Fixed regex patterns to support Unicode and accented characters in user handles and social
    media usernames
  • Updated handleRegex and socialHandleRegex in src/common/object.ts to
    use Unicode property escapes (\p{L} for letters, \p{N} for numbers)
  • Added comprehensive unit tests to verify accented character support works correctly

@Wtkane Wtkane requested review from a team and capJavert as code owners December 9, 2025 00:33
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Dec 9, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Member

@idoshamun idoshamun left a comment

Choose a reason for hiding this comment

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

The tests are too verbose. Please reduce the number of tests while keeping the main functionality tested 🙏

@idoshamun idoshamun enabled auto-merge (squash) December 17, 2025 07:18
@idoshamun idoshamun disabled auto-merge December 17, 2025 07:25
@idoshamun idoshamun merged commit 6f09f5e into dailydotdev:main Dec 17, 2025
1 check passed
@idoshamun
Copy link
Copy Markdown
Member

Thanks a lot for the contribution!

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.

4 participants