blob: 74e91c865a5999b99c7e1ef999a95fc9446c1f8f [file] [log] [blame]
package org.codehaus.groovy.runtime;
import java.util.regex.Matcher;
/**
* Created by IntelliJ IDEA.
* User: sam
* Date: May 17, 2004
* Time: 9:04:28 PM
* To change this template use File | Settings | File Templates.
*/
public class RegexSupport {
private static ThreadLocal currentMatcher = new ThreadLocal();
public static Matcher getLastMatcher() {
return (Matcher) currentMatcher.get();
}
public static void setLastMatcher(Matcher matcher) {
currentMatcher.set(matcher);
}
}