http://groovy-lang.org/single-page-documentation.html
The most important top-level bindings are documented here:
https://www.filebot.net/naming.html
In addition to that, the entire FileBot / Groovy / Java API is at your disposal:


e.g. Why does this work?
Code: Select all
{f.name.match(/regex/)}
- {f} is a top-level binding defined by FileBot, which returns a File object.
- File.getName() is called via the Groovy Getter Syntax and returns a String object.
- String.match(String regex) is a Groovy Extension Method for the String class specific to FileBot.

