Tidy up the email match, and fix the nntp one (thanks dutchie)
This commit is contained in:
parent
ac95dddfbe
commit
35910b7a85
|
@ -217,10 +217,10 @@ class Terminal(gtk.VBox):
|
|||
".]+(:[0-9]+)?(" + urlpath + ")?" + rboundry + "/?")
|
||||
self.matches['email'] = self.vte.match_add (lboundry +
|
||||
"(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)
|
||||
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)
|
||||
|
||||
# Now add any matches from plugins
|
||||
|
|
Loading…
Reference in New Issue