you are viewing a single comment's thread
view the rest of the comments
[–] [S] 3 points 1 month ago (1 child)

When I wrote my numerical parser, people told me to use regexes to detect what kind of numerical value is being parsed. I just did it in one go. Only regex-like checking is for ISO datetime values.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 1 month ago

    regex is computationally pretty cheap, from what I've read; due to something about it being a simple AND gate or something..... . IDR, and to be honest it doesn't really matter in the era of 16-core/32thread 5GHz processors.... but when you just want it to work..... it does "just work". /shrug.

  • source
  • parent