1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 23:06:38 +02:00

core: add "POSIX extended" in description of options/commands/functions using regular expressions

This commit is contained in:
Sebastien Helleu
2014-01-09 17:21:19 +01:00
parent 7e540dc5fb
commit 73eb2564f3
50 changed files with 732 additions and 672 deletions
+7 -6
View File
@@ -5977,9 +5977,10 @@ irc_command_init ()
" || del <number>|-all"),
N_(" list: list all ignores\n"
" add: add an ignore\n"
" nick: nick or hostname (can be regular "
"expression if \"re:\" is given or a mask using "
"\"*\" to replace one or more chars)\n"
" nick: nick or hostname (can be a POSIX "
"extended regular expression if \"re:\" is given "
"or a mask using \"*\" to replace one or more "
"chars)\n"
" del: delete an ignore\n"
" number: number of ignore to delete (look at "
"list to find it)\n"
@@ -6079,9 +6080,9 @@ irc_command_init ()
"[-re <regex>]"),
N_("channel: channel to list\n"
" server: server name\n"
" regex: regular expression used to filter "
"results (case insensitive, can start by \"(?-i)\" "
"to become case sensitive)\n\n"
" regex: POSIX extended regular expression used "
"to filter results (case insensitive, can start "
"by \"(?-i)\" to become case sensitive)\n\n"
"Examples:\n"
" list all channels on server (can be very slow "
"on large networks):\n"
+9 -7
View File
@@ -588,10 +588,11 @@ relay_config_init ()
relay_config_network_allowed_ips = weechat_config_new_option (
relay_config_file, ptr_section,
"allowed_ips", "string",
N_("regular expression with IPs allowed to use relay (case insensitive, "
"use \"(?-i)\" at beginning to make it case sensitive); if IPv6 is "
"enabled and that connection is made using IPv4, it will be "
"IPv4-mapped IPv6 address (like: \"::ffff:127.0.0.1\"), example: "
N_("POSIX extended regular expression with IPs allowed to use relay "
"(case insensitive, use \"(?-i)\" at beginning to make it case "
"sensitive); if IPv6 is enabled and that connection is made using "
"IPv4, it will be IPv4-mapped IPv6 address (like: "
"\"::ffff:127.0.0.1\"), example: "
"\"^((::ffff:)?123.45.67.89|192.160.*)$\""),
NULL, 0, 0, "", NULL, 0, NULL, NULL,
&relay_config_change_network_allowed_ips, NULL, NULL, NULL);
@@ -642,9 +643,10 @@ relay_config_init ()
relay_config_network_websocket_allowed_origins = weechat_config_new_option (
relay_config_file, ptr_section,
"websocket_allowed_origins", "string",
N_("regular expression with origins allowed in websockets (case "
"insensitive, use \"(?-i)\" at beginning to make it case sensitive), "
"example: \"^http://(www\\.)?example\\.(com|org)\""),
N_("POSIX extended regular expression with origins allowed in "
"websockets (case insensitive, use \"(?-i)\" at beginning to make "
"it case sensitive), example: "
"\"^http://(www\\.)?example\\.(com|org)\""),
NULL, 0, 0, "", NULL, 0, NULL, NULL,
&relay_config_change_network_websocket_allowed_origins, NULL, NULL, NULL);
+3 -2
View File
@@ -256,8 +256,9 @@ rmodifier_command_init ()
"expression (inside parentheses): comma separated "
"list of groups (from 1 to 9) with optional \"*\" "
"after number to hide the group\n"
" regex: regular expression (case insensitive, "
"can start by \"(?-i)\" to become case sensitive)\n"
" regex: POSIX extended regular expression "
"(case insensitive, can start by \"(?-i)\" to "
"become case sensitive)\n"
" del: delete a rmodifier\n"
" -all: delete all rmodifiers\n"
" missing: add missing rmodifiers\n"