KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Here's a fun snippet I ran into today: /\ba/.test("a") --> true /\bà/.test("à") --> false However, /à/.test("à") --> true Firstly, wtf? Secondly, if I want to match an accented character at the start of a word, how can I do that? (I'd really like to avoid using over-the-top selectors like /(?:^|\s|'|\(\) .... )
Tags (comma-separated)
Save Edits
Cancel