RegexBuddy is a great tool. What I’d like though is a tool that optimises regular expressions; takes a handful of expressions and boils them down to a smaller number. Any recommendations?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no magic pill for regular expressions. Simple alternation redundency may be able to have some alternations factored out, but thats about it.
Overall, there is no guarantee of a speed increase, or even a need for one.
The best optimization is experience in writing regex. A badly written regex will always stay bad. A well written and tested one would not want to take the chance of a programatic optimization. This is especially true when using modern extended regular expressions.