This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.regex.MatchResult; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
/** | |
* Wrapper for the built-in object Matcher that runs a pattern matcher and saves | |
* the results in the same method call. Call matches() first to set up the | |
* internal matcher, then call the other methods to operate on the results. | |
* | |
* @author Ethan Trewhitt |
NewerOlder