I was excited to learn that Perl can handle chained comparisons in version 5.32
However, I\'m trying to do chained regex comparisons to keep my code shorter and cleaner