This diff adds webMentionTypeaheadRegex regex unit tests to typeahead-utils.test.js.
Depends on D9056.
Run yarn test in web folder and check if all tests pass.
Add more tests
Change text
You could remove the text field and just do textPrefix + mentionText
Simplify test cases