Can you have named capturing groups in Java regular expressions?
No, Java regular expressions do not support named capturing groups, only numbered ones.
That's incorrect. Java does support named capturing groups, starting from JDK 7.
Would you like me to show you how to use named capturing groups in a regular expression pattern?