Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by Panzerschrek

14 hours ago

<regex> [banned]

A good decision. I tried to use it once and realized that it can't even work with UTF-8 properly. It's a mystery for me how such flawed design was standardized at all.

2 comments

Panzerschrek

Reply

buckle8017  4 hours ago

All modern regex libraries have a Unicode mode.

Also regex predates utf8.

  • Sharlin  3 hours ago

    But <regex> definitely does not predate utf-8.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities