this post was submitted on 14 Apr 2024
328 points (94.1% liked)

linuxmemes

20779 readers
158 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] lunarul@lemmy.world 4 points 5 months ago (1 children)

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.

[–] Feathercrown@lemmy.world 4 points 5 months ago

My confidence in my job security and general programming abilities has skyrocketed after visiting this thread