Supplying a large regular expression to the `matches` operator in a SpEL expression can result in errors that are not very helpful to the user. We should therefore improve the diagnostics so that the user is provided a meaningful error message.