--- rxvt-unicode/doc/rxvtperl.3.html 2006/01/22 20:39:56 1.37 +++ rxvt-unicode/doc/rxvtperl.3.html 2006/01/25 00:57:57 1.38 @@ -123,6 +123,16 @@ 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.
You enable it by specifying this extension and a preedit style of
+OnTheSpot
, i.e.:
+ rxvt -pt OnTheSpot -pe xim-onthespot+