From: root Date: Tue, 24 Jan 2006 19:14:36 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=558e9307e6ad7098b296a77cc9f104f5395e2cd1;p=dana%2Furxvt.git *** empty log message *** --- 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.