2026-09-29 11:15 UTC
Replies (4)
-
@ZILtoid1991@lemmy.world 2026-09-29 11:39
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.
-
@grillgamesh@lemmy.dbzer0.com 2026-09-29 12:16
Not really. There will only ever be about a hundred people who ever use this tool, and it’s really just a massive timesaver that keeps people from needing to open a smorgasbord of files to get a few tidbits from each file; then collate it into one doc… If I get ~99.99% of all the information, and one hundred people use this, odds are, nobody will ever see the .01% edge case of missed info. and even if it does happen, it’s not like it’s obsfucated information in each file, it’s just a pain to open a hundred files and wait for them all to load at once through the disk-heavy GUI application we have to use. simpler to just read via the regex patterns, and then put it out into the terminal for the info needed.
-
@mobyduck648@lemmy.world 2026-09-29 11:46
Can’t be worse than when I was an intern, the product was literally based around parsing arbitrary HTML with regex and not even decent regex, POSIX regex from like the '80s for reasons known only unto the programming gods.
-
@OfCourseNot@fedia.io 2026-09-29 13:31
write out several thousand regex patterns Oh my! This thing is more likely to gain sentience than any llm.