Special Characters


The following information describes how special characters are interpreted.

Characters with Special Meaning

Charactera without special meaning in the Verity query language can be entered anywhere in a query. Characters with special meaning are shown in the following table.

Special Characters
Description
, ( ) [
These characters end a text token.
= > < !
These characters end a text token because they signify the start of a field operator. (! is special: != ends a token.)
` @ \Q < { [ !
These characters signify the start of a delimited token. These are terminated by the end character associated with the start character.
A backslash removes special meaning from the next character. To enter a literal backslash in a query, use two backslashes. The following examples illustrate the use of the backslash.


<FreeText>("\"Hello\", said Emilie.")
'Emilie\'s'
"phrase containing a backslash (\\)"

Punctuation in Queries

Punctuation in queries is handled by an automatic expansion mechanism, in which, for example, the string "AT&T" becomes the following:

<Any>("AT&T", "AT T", "AT & T")





Copyright © 2001, Verity, Inc. All rights reserved.