lorey / social-media-profiles-regexs

:card_index: Extract social media profiles and more with regular expressions
608 stars 74 forks source link

update facebook regex #16

Closed jitangupta closed 4 years ago

jitangupta commented 4 years ago

The RegExp using a String the -. becomes -. and that is the invalid range. (It is a range from _ to . and that is not correct).

https://stackoverflow.com/questions/17727884/range-out-of-order-in-character-class-in-javascript

lorey commented 4 years ago

I changed the structure of the repo before I merged your commit. Sorry. To fix you issue, I've changed the current regex accordingly, I think. Could you verify this, please?