Documentation for POS Intellect 5.3. Documentation for other versions of Intellect is available too.

Previous page Next page

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

To specify, for example, space in a search condition, it's required to make it visible, i.e. enter some symbol or set of symbols which will be identified as invisible.

\s - letter s after the backslash describe space or tabulation character. Space also can be specified the general way, but [a-z\s] template will be more clear than [a-z ]. Use this symbols carefully because it's the same as space, tabulation and a symbol of new string.

\S - visible symbols. i.e. all symbols which are not coincide with \s

\w - special symbol exchanging the whole symbol sorting and containing all symbols which can be specified in a word, mostly it is [a-zA-Z_], but it depends on installed localization, Unicode supporting, etc.

\W - all symbols which are not coincide with \w or [^a-zA-A_]

\d - all digits, i.e. [0-9]

\D - non-digit symbols

Often special symbols describe commonly used character sets, but these sets have boundaries, i.e. digits, letters and underlining or invisible symbols. To describe all symbols use a point. For example,

.{5} - five different symbols.

To describe a point, set the backslash before it: \.

To search a backslash after which a point is going, enter the double slash as literal in a search condition:

Similarly, to enter two backslashes, it's required to double them: \\\\

  • No labels