diff --git a/sys/lib/plumb/fileaddr b/sys/lib/plumb/fileaddr index 0f08dc3ea..44a3a07f0 100644 --- a/sys/lib/plumb/fileaddr +++ b/sys/lib/plumb/fileaddr @@ -1,3 +1,2 @@ addrelem='((#?[0-9]+)|(/[A-Za-z0-9_\^]+/?)|[.$])' -addr=:($addrelem([,;+\-]$addrelem)*) - +addr=:($addrelem([,;+\-]$addrelem)*):? diff --git a/sys/man/6/plumb b/sys/man/6/plumb index bc58a5064..24201d4b8 100644 --- a/sys/man/6/plumb +++ b/sys/man/6/plumb @@ -344,7 +344,7 @@ The following is a modest, representative file of plumbing rules. # these are generally in order from most specific to least, # since first rule that fires wins. -addr=':(#?[0-9]+)' +addr=':(#?[0-9]+):?' protocol='(https?|ftp|file|gopher|mailto|news|nntp|telnet|wais)' domain='[a-zA-Z0-9_@]+([.:][a-zA-Z0-9_@]+)*/?[a-zA-Z0-9_?,%#~&/\e-]+' file='([:.][a-zA-Z0-9_?,%#~&/\e-]+)*'