geongeorge / i-hate-regex

The code for iHateregex.io 😈 - The Regex Cheat Sheet
https://iHateRegex.io
4.5k stars 320 forks source link

Added end of line hyphen word breaks #29

Closed ldsands closed 4 years ago

ldsands commented 4 years ago

I use this all of the time but I often have to look it up. If you want the additions to stay more "developery" thats fine. Otherwise I may add others I use quite a bit.

geongeorge commented 4 years ago

Looks good! Please do add more :) and do not forget to escape the regex [a-zA-Z][\\-]$[\\n][a-zA-Z]