Adjust the comment (actually we are extracting URLs inside possible delimeters). - plumb - Open certain URL patterns with an ad-hoc opener (plumber)
(HTM) hg clone https://bitbucket.org/iamleot/plumb
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) changeset 8cca9654034c63ad8835657900d3492553eb9c83
(DIR) parent 8d88b77ccd30406432dfb033a5c921ed327c917d
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Mon, 26 Mar 2018 09:24:35
Adjust the comment (actually we are extracting URLs inside possible delimeters).
Diffstat:
dplumb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff -r 8d88b77ccd30 -r 8cca9654034c dplumb
--- a/dplumb Sun Mar 25 01:03:07 2018 +0100
+++ b/dplumb Mon Mar 26 09:24:35 2018 +0200
@@ -49,7 +49,7 @@
awk \
'
/:\/\// {
- # Get rid of possible delimiters (<...>, (...), [...], "...")
+ # Extract URLs inside possible delimiters (<...>, (...), [...], "...")
if (match($0, /\<[[:alnum:]]+:\/\/[^>]+\>/) ||
match($0, /\([[:alnum:]]+:\/\/[^)]+\)/) ||
match($0, /\[[[:alnum:]]+:\/\/[^]]+\]/) ||