From 6fd697e2978eeaffa2db4ddd8ee4141bbef44f02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Tue, 10 Jul 2012 21:57:03 +0200 Subject: [PATCH] Mentioned support for matcher.pattern resources in README --- README.md | 3 +++ url-select | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 00736f2..27f2886 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,9 @@ Options: URxvt.underlineURLs: if set to true, all URLs get underlined URvxt.urlButton: mouse button to click-open URLs (default: 2) +For compatibility reasons, url-select will also use any patterns defined for +the matcher extension by reading all `URxvt.matcher.pattern.[0-9]` resources. + clipboard --------- diff --git a/url-select b/url-select index 27024a7..ebf07f2 100644 --- a/url-select +++ b/url-select @@ -2,7 +2,7 @@ # Author: Bert Muennich # Website: http://www.github.com/muennich/urxvt-perls # Based on: http://www.jukie.net/~bart/blog/urxvt-url-yank -# Version: git-20120120 +# Version: git-20120710 # License: GPLv2 # Use keyboard shortcuts to select URLs. @@ -55,7 +55,6 @@ sub on_start { while ($self->x_resource("matcher.pattern.$current")) { push @{$self->{pattern}}, $self->x_resource("matcher.pattern.$current"); - $current++; } } else {