diff --git a/packages/utils/src/internals/social.ts b/packages/utils/src/internals/social.ts index c825fdb01197..f9f6272d554b 100644 --- a/packages/utils/src/internals/social.ts +++ b/packages/utils/src/internals/social.ts @@ -180,7 +180,7 @@ const TWITTER_REGEX_STRING = `(? { expect(FACEBOOK_REGEX.test('https://www.facebook.com/someusername')).toBe(true); expect(FACEBOOK_REGEX.test('https://www.facebook.com/someusername/')).toBe(true); + expect(FACEBOOK_REGEX.test('https://www.facebook.com/some-username-1234')).toBe(true); + expect(FACEBOOK_REGEX.test('https://www.facebook.com/some-username-1234/')).toBe(true); expect(FACEBOOK_REGEX.test('http://www.facebook.com/some.username123')).toBe(true); expect(FACEBOOK_REGEX.test('www.facebook.com/someusername')).toBe(true); expect(FACEBOOK_REGEX.test('facebook.com/someusername')).toBe(true);