From 558e9307e6ad7098b296a77cc9f104f5395e2cd1 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 24 Jan 2006 19:14:36 +0000 Subject: [PATCH] *** empty log message *** --- src/urxvt.pm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/urxvt.pm b/src/urxvt.pm index eebfa5cf..9793c908 100644 --- a/src/urxvt.pm +++ b/src/urxvt.pm @@ -69,6 +69,13 @@ between two vertical bars: URxvt.selection.pattern-0: \\|([^|]+)\\| +Another example: Programs I use often output "absolute path: " at the +beginning of a line when they process multiple files. The following +pattern matches the filename (note, there is a single space at the very +end): + + URxvt.selection.pattern-0: ^(/[^:]+):\ + You can look at the source of the selection extension to see more interesting uses, such as parsing a line from beginning to end. -- 2.34.1