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 Expression usage

Note that an input that takes regular expression can take either:

The operators .contains() and .containsAnyOf() use Apple's regular expression engine rather than the BOOST engine. The change is unlikely to cause problems in working agents, and will provide better results when working with non-Latin characters. Historical note:

In action codes (or other operators) that are described as using regular expression patterns for their input arguments (i.e. 'patterns'), it may be possible to use the '\xdd' method to define characters in an escaped form such as tricks the first-pass parsing of single/double-quotes in arguments. Thus:

$Text = $Text.replace("XXX","\x22") 

…replaces every instance of 'XXX' with a straight double quote character.

Some reference links: