summaryrefslogtreecommitdiff
path: root/doc/en/autogen/user/rmodifier_commands.txt
blob: 18906369edd0d57a6cd152c16fbd30cfa07c1ae0 (plain)
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
[[command_rmodifier_rmodifier]]
[command]*`rmodifier`* alter modifier strings with regular expressions::
........................................
/rmodifier  list|listdefault
            add <name> <modifiers> <groups> <regex>
            del <name>|-all [<name>...]
            default -yes

       list: list all rmodifiers
listdefault: list default rmodifiers
        add: add a rmodifier
       name: name of rmodifier
  modifiers: comma separated list of modifiers
     groups: action on groups found: comma separated list of groups (from 1 to 9) with optional "*" after number to hide group
      regex: regular expression (case insensitive, can start by "(?-i)" to become case sensitive)
        del: delete a rmodifier
       -all: delete all rmodifiers
    default: restore default rmodifiers

Examples:
  hide everything typed after a command /password:
    /rmodifier add password input_text_display 1,2* ^(/password +)(.*)
  delete rmodifier "password":
    /rmodifier del password
  delete all rmodifiers:
    /rmodifier del -all
........................................