# About Regex And Path Regex

Treasure Date uses an abbreviation (regex, regexp, path regex) to refer to regular expressions. Regular expressions are:

- patterns used to match character combinations in strings
- a sequence of characters that define a search pattern


The term appears occasionally in Treasure Console. For example:

- For on-demand jobs, just add the --result (or -r) option to the td query command. After the job is finished, the results are written into your collection.


![](/assets/image-20200228-191259.47482c6f932400030c985073fbf2b3728a79831d35c75f1ffe3bccf0b5215e28.f129bcff.png)

- It might also appear like:


![](/assets/image-20200228-193633.538d23036c7521e2c88457b5ff74f5425db19631f7f40dad016f427655b74ac4.f129bcff.png)

Treasure Data's implementation of regular expression uses the [java.util.regex Class Pattern](https://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html), which is not fully compliant with POSIX.