obvious stupid reason why the email URL matching wasn't working. excess whitespace
This commit is contained in:
parent
4d216633fc
commit
8f88537bc5
|
@ -215,12 +215,12 @@ class Terminal(gtk.VBox):
|
||||||
"(www|ftp)[" + hostchars + "]*\.[" + hostchars +
|
"(www|ftp)[" + hostchars + "]*\.[" + hostchars +
|
||||||
".]+(:[0-9]+)?(" + urlpath + ")?" + rboundry + "/?")
|
".]+(:[0-9]+)?(" + urlpath + ")?" + rboundry + "/?")
|
||||||
self.matches['email'] = self.vte.match_add (lboundry +
|
self.matches['email'] = self.vte.match_add (lboundry +
|
||||||
"(mailto:)?[a-zA-Z0-9][a-zA-Z0-9.+-]*@[a-zA-Z0-9]\
|
"(mailto:)?[a-zA-Z0-9][a-zA-Z0-9.+-]*@[a-zA-Z0-9]" +
|
||||||
[a-zA-Z0-9-]*\.[a-zA-Z0-9][a-zA-Z0-9-]+\
|
"[a-zA-Z0-9-]*\.[a-zA-Z0-9][a-zA-Z0-9-]+"
|
||||||
[.a-zA-Z0-9-]*" + rboundry)
|
"[.a-zA-Z0-9-]*" + rboundry)
|
||||||
self.matches['nntp'] = self.vte.match_add (lboundry +
|
self.matches['nntp'] = self.vte.match_add (lboundry +
|
||||||
'''news:[-A-Z\^_a-z{|}~!"#$%&'()*+,./0-9;:=?`]+@\
|
"news:[-A-Z\^_a-z{|}~!"#$%&'()*+,./0-9;:=?`]+@"
|
||||||
[-A-Za-z0-9.]+(:[0-9]+)?''' + rboundry)
|
"[-A-Za-z0-9.]+(:[0-9]+)?" + rboundry)
|
||||||
|
|
||||||
# Now add any matches from plugins
|
# Now add any matches from plugins
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue