wiki:Regular expression support

Version 1 (modified by kthoden, 15 years ago) (diff)

--

Regular Expressions in Arboreal

Arboreal allows for regular expression searches, using the syntax of Perl 5.003 regular expressions. The regular expression library used is Jakarta ORO.

A summary of the regular expression syntax is available in the API documentation.

A note on parenthesized groups

If a regular expression contains at least one parenthesized group, Arboreal will highlight in the search results only the contents of the parenthesized groups. E.g., a search for ([Tt]his).*?(sentence) will produce results such as the following:

This short sentence illustrates the point.

This feature allows one easily to construct searches, the results of which can be dragged onto a term in the term editor to add instances.