I have this method that aims to return objects using regex and pagination
Page<JokeModel> searchAllByPhraseRegex(String phrase, Pageable pageable);
However, this would throw an exception Unsupported keyword REGEX (1): [MatchesRegex, Matches, Regex]
Spring Data JPA docs explicitly stated that Regex is supported:
Moreover, Intellij does give suggestions for completing the method: