Mercurial > ~mikael > mcabber > hg
diff mcabber/mcabberrc.example @ 1974:acbebd68c7f0
Modularize url_regex
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 19 Mar 2011 20:06:34 +0100 |
parents | b596bcff758e |
children | 3bcc57751283 |
line wrap: on
line diff
--- a/mcabber/mcabberrc.example Sat Mar 19 13:20:22 2011 +0100 +++ b/mcabber/mcabberrc.example Sat Mar 19 20:06:34 2011 +0100 @@ -269,6 +269,15 @@ # #module load fifo +# URL extractor +# Set 'url_regex' to a regular expression matching urls. If it matches an +# url in an incoming messages, it'll print it to the log window. +# Don't forget to load the urlregex module if you plan to use this feature! +#set url_regex = "(((https?|ftps?|nntp)://)|www[.][-a-z0-9.]+|(mailto:|news:))(%[0-9A-F]{2}|[-_.!~*';/?:@&=+$,#[:alnum:]])+" +# +#module load urlregex + + # Traces logging # If you want advanced traces, please specify a file and a level here. # There are currently 4 tracelog levels: @@ -457,10 +466,6 @@ # # Set 'info' to anything you'd like to see in your lower status line. #set info = woot -# -# Set 'url_regex' to a regular expression matching urls. If it matches an -# url in an incoming messages, it'll print it to the log window. -#set url_regex = "(((https?|ftps?|nntp)://)|www[.][-a-z0-9.]+|(mailto:|news:))(%[0-9A-F]{2}|[-_.!~*';/?:@&=+$,#[:alnum:]])+" # Contacts PGP information # You can provide a PGP key to be used for a given Jabber user, or