tMaker :: Wildcards

Wildcards


If the question requires the user to type in an answer (fill-in-the-blanks question type), you must specify the mask for the correct answer. The mask can contain the wildcards symbols.

Below is the list of wildcards supported by the application:


1. Simple

Mask

Description

?

any single character

_

any single character or nothing

*

any number of any characters or nothing at all

%

at least one character (any)

#

one or more numeric characters ('0'...'9')


2. Expressions


[<occurrences>:][!]<starting_char>[<ending_char>][;[!]<starting_char>[<ending_char>]]...


Examples:

Mask

Description

[a;b]

'a' or 'b'

[az]

any alphabetical characters ('a','b','c'...'z')

[az;09]

any alphabetical or numeric characters ('a'...'z' or '0'...'9')

[az;!mo]

any alphabetical characters ('a'...'z') except characters 'm', 'n' and 'o'

[!ac]

any characters except 'a', 'b' and 'c'

[6:az;09]

any 6 characters (e.g. '9c3ax7')

[2-5:az;09]

from 2 to 5 characters

[:az]

any single character or nothing

[*:az;09]

any number of any characters or nothing

[%:az;09]

one or more characters

3. OR Sequence


<mask_string>;<mask_string>[;<mask_string>]...


Examples:

Mask

Description

{xyz;abcd;123}

'xyz' or 'abcd' or '123'

{[3:09];-[2:09]}

any 3 characters or the '-' and 2 characters

{a*;*0}

the string starting with 'a' or ending with '0'


4. Escape Sequences


Mask

Description

\*

asterisk ('*')

\\

back slash ('\')

\s

space (#$20)

\t

tabulation (#$9)

\$41

'A' (#$41)

[\[;\]]

the '[' or ']' bracket