The shortcut app seems to have a bug regarding text match grouping when trying to match a lowercase string to a capital case one. The match happens, but the regular expression groups are not properly displayed.
To replicate, create a shortcut with the following actions:
- Match \d-(george) in 2-George check case-insensitive on
- Show Matches (this will show 2-George)
- Get Group At Index 1 in Matches
- Show Text This will not print anything