@{{{}}}
@{{{  CommonUsedReferences
@if-using ( regexp-reference )
@{{{  @regexp Origami Regular Expressions
Origami supports regular expression search and replace. The syntax widely
conforms POSIX extended or basic regular expressions.

@{{{  Character Match
@ref-start-tbl Basic 10 Extended 10 Matches 42
<char> @@ <char> @@ <char>, if not a special character
\<char> @@ \<char> @@ <char>, if a special character
. @@ . @@ any character
^ @@ ^ @@ start of line, if at begin of exp.
$ @@ $ @@ end of line, if at end of exp.
[<class>] @@ [<class>] @@ any char in <class>
[^<class>] @@ [^<class>] @@ any char not in <class>
@@ @@ <class> is a list of
@@ @@ 1) <char>
@@ @@ 2) <char>-<char>
@@ @@ 3) [:<set>:] (*)
@ref-end-tbl
@ref-start-item (*)
<set> can be `alpha', `upper', `lower', `digit', `xdigit', `alnum',
`blank', `space', `print', `cntrl', `graph' or `punct'.
See your local ctype documentation for detailed information.
@ref-end-item
@}}}
@{{{  Complex Expressions
@ref-start-tbl Basic 10 Extended 10 Matches(*) 42
<e1> <e2> @@ <e1> <e2> @@ concatenation of strings <s1> <s2>
\(<e>\) @@ (<e>) @@ <s>, used for grouping and \x in replacement
<e1>\|<e2> @@ <e1>|<e2> @@ <s1> or <s2>
<e>\+ @@ <e>+ @@ one or more strings, matching <e>
<e>\? @@ <e>? @@ zero on one string, matching <e>
<e>* @@ <e>* @@ zero or more strings, matching <e>
<e>\{<n>\} @@ <e>{<n>} @@ <n> strings, matching <e>
<e>\{<n>,<m>\} @@ <e>{<n>,<m>} @@ <n> to <m> strings, matching <e>
\!<e> @@ !<e> @@ if at begin of line:
@@ @@ next line, not matching <e>
@ref-end-tbl
@ref-start-item (*)
<e>,<e1> and <e2> are regular expressions and strings <s>,<s1> and <s2>
are strings, matching the corresponding expressions. <n> and <m> are integers.
@ref-end-item
@}}}
@{{{  Replace Expressions
In regular expression replace, the following special expressions are allowed
(any character, not used for special purpose, can be used for itself):

@ref-start-tbl Expression 10 Meaning(*) 52
\<x> @@ the <x>-th group in the search pattern
\u<x> @@ the <x>-th group, all characters uppercase
\l<x> @@ the <x>-th group, all characters lowercase
\{<x><e>} @@ <s> length limited by length of <x>-th group  (**)
\?<x><e>} @@ <s>, if the <x>-th group matches
\!<x><e>} @@ <s>, if the <x>-th group does not match
\} @@ }
\\ @@ \
@ref-end-tbl
@ref-start-item (*)
<x> can be 0 .. 9 and g10 .. g16. The <x>-th group is the part of the
matching string, matched by the part of the regular expressions in the
<x>-th pair of (). 0 is used for the complete string. <e> is a replace
expression and <s> the corresponding string.
@ref-end-item
@ref-start-item (**)
For short strings <s>, the last character will be used for padding. Use
`\0' as last character to prevent padding.
@ref-end-item
@}}}
@}}}
@fi
@if-using ( cmd-reference )
@{{{  @cmd-opt Origami Command Line Options
@ref-start-tbl Option 12 Function 52
  -a delay @@ specify time between auto-saves
  @@ (1<=delay<=60,default=8)
  -A @@ open the list of files, instead of first file
  -C @@ disable copyright message
  -D @@ dump on crash
  -d dspmode @@ specify display mode (*)
  -e @@ echoing keyboard input on
  -h @@ show available command line arguments
  -i @@ show ctrl-chars inverse
  -k name @@ specify other rc-file
  -K state @@ choose keypad mode
  @@ N -> numerical
  @@ A -> application
  -l number @@ first line in file
  -m name @@ marks for fold-display
  -M marks @@ like -m, but give strings directly
  -n @@ load files without fold-parsing
  -N lines @@ specify size of virtual line handling buffer
  -o @@ start in overwrite-mode
  -O value @@ pass data to OCL
  -p @@ use c-preprocessor-mode
  -P @@ do not open control terminal, if stdin isn't
  -R rcpath @@ pathlist for rc,help and msg-file
  -S cmd @@ use cmd as shell
  @@ pipe-commands are disabled
  -t width @@ specify the size of tabs
  -T name @@ specify window name, after exiting Origami
  -v @@ start in view-mode
  -V @@ verbose-mode
  -W name @@ display name in statusline
  -X string @@ specify OS-dependent stuff
  -Z @@ disable suspend-origami
@ref-end-tbl

@ref-start-item *
dspmode is a sequence of:
@ref-start-tbl Code 5 Meaning 48
o @@ octal display (C-?k: \177)
d @@ decimal display (C-?: \d127)
h @@ hexadecimal display (C-?: \7F)
m @@ mark control characters
i @@ inverse control characters
n @@ numbered control characters
p @@ normal characters display
8 @@ numbered display of 8-bit characters
a @@ numbered character display
t tab @@ specify tab width (tab<=0: tab like control)
@ref-end-tbl
@ref-end-item
@}}}
@fi
@}}}
