Dear Claude: Please don't use regex to parse code

(mbmccoy.dev)

3 points | by _alternator_ 9 hours ago ago

2 comments

  • bediger4000 8 hours ago ago

    Given how LLM-based "AI" works, if Claude tends to write regex based code parsers that means that a large majority of (human written) code out there is of limited capability or buggy or just plain wrong.

    This also gives a mechanism for how vibe coding could introduce really inexplicable app behavior - regexes that work correctly a lot of the time but not always. Looking forward to it!