Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

lunarul ,

I am curious how you'd deal with the ambiguity of contractions vs. ending single quotes

That's the thing, nobody even asks this question.

you could just match on /[a-zA-Z]+/

That would already put you in the top 10% of solutions I've seen so far on this problem.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linuxmemes@lemmy.world
  • random
  • incremental_games
  • meta
  • All magazines