summaryrefslogtreecommitdiff
path: root/doc/pl/autogen/user/rmodifier_commands.txt
blob: 454eb93f6195c093458c4effdf0f52cb3c5bb751 (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
31
[[command_rmodifier_rmodifier]]
[command]*`rmodifier`* zmiany ciągów modyfikujących przez wyrażenia regularne::

----
/rmodifier  list|listdefault
            add <nazwa> <modyfikatory> <grupy> <regex>
            del <nazwa>|-all [<nazwa>...]
            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: POSIX extended 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
----