This version is out of date, covering development from v9.0.0 to v9.3.0. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox v9 Icon

Regular Expressions in queries

Tinderbox regular expressions ('regex') recognise a number of patterns containing the backslash character. Some common examples are:

\s matches any whitespace character

\S matches anything EXCEPT a whitespace character

\w matches a word character, such as a letter

\W matches any non-word character, such as punctuation

Otherwise Tinderbox uses normal regular expression escaping (i.e. no double-escaped backslashes). For example:

"this\sthat" 

recognises

"this&[tab char]&that" 

as well as

"this   that" 

Regex and writing efficient queries

Regex



A Tinderbox Reference File : Agent & Queries : Regular Expressions in queries