public class RegexSupport
extends Object
Used to store the last regex match.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static Matcher |
getLastMatcher()Returns the matcher saved for the current thread. |
|
public static void |
setLastMatcher(Matcher matcher)Saves matcher as the last match on the current thread.
|
Returns the matcher saved for the current thread.
Saves matcher as the last match on the current thread.
Another thread keeps its own matcher. Passing null makes
getLastMatcher return null.
matcher - matcher to store, or null to clear this thread's match