-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
None
-
generic
-
generic
A DESCRIPTION OF THE PROBLEM :
I think that the documentation of the Pattern class (https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/util/regex/Pattern.html) contains an incorrect example. In the "Character Classes" point the "[a-e][i-u]" example is not a union but a pattern matching two characters, e.g. "ai".
I think that the documentation of the Pattern class (https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/util/regex/Pattern.html) contains an incorrect example. In the "Character Classes" point the "[a-e][i-u]" example is not a union but a pattern matching two characters, e.g. "ai".