http://www.perlmonks.org?node_id=303382


in reply to Re: Re: Regexp for alphabetical order match within the string
in thread Regexp for alphabetical order match within the string

For case-insensitivity just throw an lc before the shift.