Skip to main content
Version: 1.0.0

Strings

JQL strings use single quotes:

Pass the query as one command-line argument. Wrap it in double quotes so its single-quoted JQL strings remain intact.

where status = 'paid'

Strings are used for filenames, comparison values, and function arguments.

Common escapes

EscapeValue
\'Single quote
\"Double quote
\\Backslash
\nNew line
\rCarriage return
\tTab
\b, \f, \v, \0JavaScript control characters
\x41Two-digit hexadecimal character
\u0041Four-digit Unicode character
\u{1F680}Unicode code point

A backslash followed by a physical line break continues the string on the next line.

Regular-expression strings

Unknown escapes keep their backslash. This allows regular-expression patterns to use familiar tokens:

where code matches '^A\d+\.\d+$'

Here \d and \. reach the JavaScript regular-expression engine unchanged.