From theoretical computer science we know that the problem of determining whether a regular language is empty is decidable.
Is there a way to check whether a Java regular expression denotes the empty language, or in other words, whether no string exists that matches it?
Note that I'm NOT asking whether a regular expression exists that matches nothing nor what such a regular expression is. I know that there are, and that they are infinite. I'm asking how do I recognize them.