All Downloads are FREE. Search and download functionalities are using the official Maven repository.

regexcompiler.RegexCountClosureOperator Maven / Gradle / Ivy

Go to download

A tool to perform static analysis on regexes to determine whether they are vulnerable to ReDoS.

There is a newer version: 1.0.8
Show newest version
package regexcompiler;

public class RegexCountClosureOperator extends RegexQuantifiableOperator {
	
	
	private int low;
	public int getLow() {
		return low;
	}
	
	private int high;
	public int getHigh() {
		return high;
	}

	public RegexCountClosureOperator(int low, int high, QuantifierType quantifierType, int index) {
		super(OperatorType.COUNT_CLOSURE, quantifierType, index);
		this.low = low;
		this.high = high;
	}
	
	@Override
	public String toString() {
		return "{" + low + "," + high + "}" + getQuantifierType().toString();
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy