[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#427843: klipper support for regexp backreferences



On Wed, Jun 06, 2007 at 10:21:53PM +0200, sean finney wrote:
> Package: klipper
> Version: 4:3.5.5a.dfsg.1-6
> Severity: wishlist
> 
> hi,

Hello,

> 
> it would be great if klipper's actions could handle regexp grouping
> and backreferences.  so i could have a regexp like "^Bug#([0-9]+)$"
> and have the action be "firefox $1" or similar.

The following setting works for me: 

Pattern: 
  "^#[0-9]{5,6}."
Action: 
  konsole -e links http://bugs.debian.org/`echo %s | sed 's/\#//g'`

Even though I'm running Klipper 4:3.5.7-1, if I remember correctly,
this setting is present into my actions list several time ago.

IHTH

-- 
bye,
   - Nacho 



Reply to: