summaryrefslogtreecommitdiff
path: root/doc/ja/autogen/user/rmodifier_commands.txt
blob: c0ad0762956b6156813fbf800e839a253b6f970d (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
29
30
[[command_rmodifier_rmodifier]]
[command]*`rmodifier`* 正規表現で modifier 文字列を変更::
........................................
/rmodifier  list|listdefault
            add <name> <modifiers> <groups> <regex>
            del <name>|-all [<name>...]
            missing
            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 captured in regular expression (inside parentheses): comma separated list of groups (from 1 to 9) with optional "*" after number to hide the group
      regex: regular expression (case insensitive, can start by "(?-i)" to become case sensitive)
        del: delete a rmodifier
       -all: delete all rmodifiers
    missing: add missing 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
........................................