Case insensitive redirects

Is there any way to make site.yaml redirects case insensitive?

redirects:
    /page:       /folder/page

I want a user to be able to type in http://myurl.com/paGe and be redirected to http://myurl.com/folder/page.

I can do goofy OR regex groups, but it gets silly as the url gets long. I’m hoping someone has a better solution.

redirects:
    /(p|P)(a|A)(g|G)(E|e):       /folder/page

Try using the case insensitive modifier (not tested):

redirects:
    (?i)\/page:       /folder/page
---