jonathanpeppers / inclusive-code-reviews-ml

Machine learning for code reviews!
MIT License
14 stars 6 forks source link

Replace "@(\w|-|_)+" with @github #9

Closed jonathanpeppers closed 2 years ago

jonathanpeppers commented 2 years ago

The Regex I used would find any text with @, then letters, numbers, hyphens, underscores. So it would stop at a space or other characters.

This worked for any text I saw in classified.csv. I'm not sure which characters are valid Github handles?

image

rolfbjarne commented 2 years ago

I found this: https://stackoverflow.com/a/30281147/183422