DiGrande.it

Blind, Braille and Embossing Technologies

This site uses cookies to personalize content and ads, provide social media features and analyze links. By closing this banner or continuing to browse, you consent to their use.
Read the DiGrande.it Cookie Policy

Text next group- Tg

- Instruction: Tg"%"

- Parameter: "%" text consists of absolute characters, type or family

- Return: true if the next text satisfies the specified group

- Description:

Returns true if the next text satisfies the specified characters in the group. The characters in the group can be absolute, type or family characters. An absolute character is the one that is immediately comparable, for example "abc123", i.e. all characters in the unicode set. Type characters are those belonging to a character type, such as letters, consonants, vowels, numbers, etc.. A family character identifies a sequence of characters of the same type, such as letters, numbers, punctuation, or spaces. A type or family character is specified using the "\" activator followed by the type or family of the character. The list of type and family characters is as follows:

\* - Any character except space

\w - Any letter and number

\? - Any letter

\# - Any number

\% - Any consonant

\& - Any vowel

\@ - Any accented vowel

\< - Any lowercase letter

\> - Any capital letter

\_ - Any punctuation

\' - Any apostrophe

\- - Any hyphen

\! - Any character other than letters, numbers and punctuation

\s - Any space

\n - Any null character (for example at the end or beginning of a line)

\\ The inverted slash

\L - A sequence of letters

\N - A sequence of numbers

\W - A sequence of letters or numbers

\P - A sequence of punctuation

\S - A sequence of spaces

\x - Includes the analysis of the spaces (default)

\X - Excludes the analysis of the spaces

It is necessary to respect upper and lower case letters. Character analysis is performed from left to right.

- Examples:

Text string: a

Braille string: 456

Condition: Tg"\X\Nx+\Ny".

Description: Returns true if after the text string there is text that satisfies the specified mask. The "a" is transcribed with cell "456" if after it is present, for example, the text "100x+ 234y".