In order to find punctuation marks, one can use the same syntax as for word search, but in this case the use of quotes is required.

Literal quotes should be escaped by a backslash or quotes.

Example

"@" matches all at signs;

@ – incorrect (query must be enclosed in quotes);

"\"" = """" matches all double quotes;

phrase("#", foodie) matches popular culinary hashtag "#foodie";

phrase("@", cia) matches "@CIA" (Twitter of Central Intelligence Agency).

Several punctuation marks characters enclosed in quotes are treated as a sequence.

Example

"?!" matches all interrobangs.

Also, in order to find punctuation marks, special symbols (#, @,% …​) and tokens of special categories, the function char() may be used.

Syntax

char(category, term1, term2, …​)

The first parameter category is used to specify the category of a token/symbol and takes one of the following values:

Category

Synonym

Explanation

alpha

a

tokens that consist of alphabetic characters only

alnum

an, alphanum

tokens that consist of alphabetic and numeric characters

numeral

n, num

tokens that consist of digits and symbols that can be used within numbers (such as commas, dots, slashes etc.)

digit

d

tokens that consist of digits only

special

sp

non-alphabetic and non-numeric symbols (#, @, &, %…​)

word

w

alpha|alnum|numeral|special

punct

p

any punctuation sign

bracket

br

left or right parenthesis

colon

col, ":"

colon symbols

comma

","

comma symbols

dot

"."

dot symbols

exclamation

excl, "!"

exclamation symbols

hyphen

hp, "-"

a dash/a hyphen

lbracket

lb, "("

left parenthesis

rbracket

rb, ")"

right parenthesis

question

qm, ?

question mark symbols

semicolon

sc, ";"

semicolon symbol

slash

sl, "/"

slash symbol

quote

qt

any quote symbol

lquote

lqt

any left quote symbol

rquote

rqt

any right quote symbol

squote

sq, "'"

single quote symbol

lsquote

lsq, ‘

left single quote symbol

rsquote

rsq, ’

right single quote symbol

dquote

dq, "\""

double quote symbol

ldquote

ldq, “

left double quote symbol

rdquote

rdq, ”

right double quote symbol

plus

pl, "+"

plus symbol

plusminus

pm, ±

plus-minus symbol

equal

eq, "="

equals symbol

less

ls, "<"

less-than symbol

greater

gr, ">"

greater-than symbol

tilde

td, ~

tilde symbol

vline

vl, "|"

vertical line symbol

arabic

tokens that consist of arabic alphabet symbols

chinese

tokens that consist of chinese alphabet symbols

cyrillic

tokens that consist of cyrillic alphabet symbols

greek

tokens that consist of greek alphabet symbols

hiragana

tokens that consist of hiragana alphabet symbols

katakana

tokens that consist of katakana alphabet symbols

korean

tokens that consist of korean alphabet symbols

latin

tokens that consist of latin alphabet symbols

mixed

tokens that consist of mixed alphabet symbols

Note

It is possible to mix category (only one category is allowed) and alphabetic parameters (number of alphabetic parameters is not limited) to specify a search, using an underscore ("_").

Example

char(alpha_cyrillic) matches tokens that consist only of cyrillic alphabet characters.

char(alnum_latin_cyrillic) matches tokens that consist of numeric characters and latin and cyrillic alphabetic symbols, for example, "wp7-устройство", "к750i".

char(alpha_cyrillic|numeral) matches tokens consisting of cyrillic symbols and numbers.

Example

char(alnum) = char(an) matches "10-Q", "x108", "Cardio3", etc.

char(digit) = char(d) matches «7», «40», «2017», etc.

char(special) = char(sp) matches «@», «%», «&», etc.

char(mixed) matches «GSK-3β-dependent», «αB-crystallin», «радио-FM», etc.

char(latin_greek) matches «interferon-β», «GSK-3β-dependent», «αB-crystallin», etc.

char(alnum_greek) matches «Δ6», «β2», etc.