* @throws NullPointerException if the given regular expression pattern is {@code null}.
* @throws LocationUnavailableException if an element matching the given regular expression pattern cannot be found.
* @since 1.2
*/
public void clickItem(@Nonnull JList list, @Nonnull Pattern pattern, @Nonnull MouseButton button, int times) {
clickItem(list, new PatternTextMatcher(pattern), button, times);
}