Package repast.simphony.filter
Class RegExStringFilter
java.lang.Object
repast.simphony.filter.RegExStringFilter
- Direct Known Subclasses:
ClassPathFilter
String filter that matches using regular expressions.
- Author:
- Nick Collier
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
RegExStringFilter
(String regEx) Creates aRegExStringFilter
that will evaluate to true if the passed in String matches the specified regular expression. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the regular expression pattern for this RegExFilter.
-
Field Details
-
pattern
-
-
Constructor Details
-
RegExStringFilter
protected RegExStringFilter() -
RegExStringFilter
Creates aRegExStringFilter
that will evaluate to true if the passed in String matches the specified regular expression.- Parameters:
regEx
- the regular expression to match
-
-
Method Details