pattern and patterns use ant patterns to match. That means they do full matches only, ? is any single character, * is multiple characters (but not directories), ** is any number of directories. Example: results/**/*.csv
Regex does a full match only, so foo will not match foobar, you need to use foo.+
pattern
andpatterns
use ant patterns to match. That means they do full matches only,?
is any single character,*
is multiple characters (but not directories),**
is any number of directories. Example:results/**/*.csv
Regex does a full match only, so
foo
will not matchfoobar
, you need to usefoo.+