Name: krC82822 Date: 05/24/2001
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)
In the documentation for the java.util.regex.Pattern.matches method with
the signature
public static boolean matches(String regex,
CharSequence input)
there is the following sentence:
"If a pattern is to be multiple times, compiling it once and reusing it will be
more efficient than invoking this method each time."
I believe this should be "If a pattern is to be *used* multiple times..."
(Review ID: 124965)
======================================================================