File: string-operand.rst

package info (click to toggle)
brltty 6.8-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 35,776 kB
  • sloc: ansic: 150,447; java: 13,484; sh: 9,667; xml: 5,702; tcl: 2,634; makefile: 2,328; awk: 713; lisp: 366; python: 321; ml: 301
file content (32 lines) | stat: -rw-r--r-- 1,476 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
The String Operand
------------------

A *string* operand may be specified as a non-whitespace sequence of:

*  Any single character other than a backslash (\\\\) or a white-space
   character.

*  A backslash-prefixed special character. These are:

   ===============  ==========================================================
   Sequence         Meaning
   ---------------  ----------------------------------------------------------
   ``\b``           The backspace character.
   ``\f``           The formfeed character.
   ``\n``           The newline character.
   ``\o###``        The three-digit octal representation of a character.
   ``\r``           The carriage return character.
   ``\R``           The Unicode replacement character.
   ``\s``           The space character.
   ``\t``           The horizontal tab character.
   ``\u####``       The four-digit hexadecimal representation of a character.
   ``\U########``   The eight-digit hexadecimal representation of a character.
   ``\v``           The vertical tab character.
   ``\x##``         The two-digit hexadecimal representation of a character.
   ``\X##``         (the case of the X and of the digits isn't significant)
   ``\<name>``      The Unicode name of a character (use _ for space).
   ``\{variable}``  The value of a variable.
   ``\\``           A literal backslash.
   ``\#``           A literal number sign.
   ===============  ==========================================================