It should be pretty straightforward to replace regexes with good ole ifs, array acceses, and comparision operators, whether manually or with an LLM. Pretty low hanging fruit to shave off some kilobytes of attack vector
I think you’re underestimating the complexity of a lot of regular expressions.
I think you’re underestimating the complexity of a lot of regular expressions.