aboutsummaryrefslogtreecommitdiff
path: root/help/urlm_add_override
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2015-08-12 04:30:10 -0400
committerB. Watson <yalhcru@gmail.com>2015-08-12 04:30:10 -0400
commit4ef0f5708e20509e427c706acedff6a22bf0faaa (patch)
treed12262b419530f40a3ef7cd24998f047ed443ebf /help/urlm_add_override
downloadirssi-urlmanager-4ef0f5708e20509e427c706acedff6a22bf0faaa.tar.gz
initial commit
Diffstat (limited to 'help/urlm_add_override')
-rw-r--r--help/urlm_add_override15
1 files changed, 15 insertions, 0 deletions
diff --git a/help/urlm_add_override b/help/urlm_add_override
new file mode 100644
index 0000000..167808f
--- /dev/null
+++ b/help/urlm_add_override
@@ -0,0 +1,15 @@
+
+URLM_ADD_OVERRIDE <browser> <pattern>
+
+Add an override, for use with /urlm_open (q.v.)
+
+<browser> is the "tag", previously defined with URLM_ADD_BROWSER.
+
+<pattern> is a Perl regular expression (regex). Any URL matching the
+regex (case-insensitive) will be open with <browser>.
+
+It's probably best to avoid conflicting/overlapping patterns, although
+it can be done if you remember that the regexes are checked against each
+URL in the order they are displayed in /urlm_list_overrides (which is
+in fact the order in which they were defined).
+