#390·regexr

It'd be nice to be able to reorder and/or insert test cases

Author: parkercoatesCreated Dec 3, 2020Updated Aug 21, 2025

I just discovered the Tests feature, which was exactly what I colleague and I were needing to develop a particularly nasty regular expression. At first a test suite seemed like an overkill feature, but in the end it really allowed us to tweak the regex to cover corner cases with confidence that we weren't breaking any of our basic cases.

Anyway, when adding corner case tests, it would have been able to insert or drag them to be near other related tests. For example, it would have been good to have the Number with leading zero test next to the Number with negative sign test, instead of just having to append them to the end.

This is obviously a pretty minor quality-of-life feature request, but I thought it was worth bringing up.