[Bug 180188] klipper: grouping and back-references in regular expressions

dAniel hAhler launchpad at thequod.de
Thu Jan 3 20:44:23 UTC 2008


Public bug reported:

Binary package hint: kdebase

Klipper should support backreferences in its "action" commands.

E.g. it should be possible to match "^LP: #(\d+)$" and handle it using
the following action: "kfmclient exec
https://bugs.launchpad.net/bugs/%1".

Currently only %s gets replaced with the whole match (e.g. "LP: #1") and
you would have to add an additional subshell call do massage it into the
correct action command (e.g. "kfmclient exec
https://bugs.launchpad.net/bugs/`echo '%s' | sed 's/LP: #//'`".

There has been a patch submitted upstream.

** Affects: kdebase
     Importance: Unknown
         Status: Unknown

** Affects: kdebase (Ubuntu)
     Importance: Wishlist
         Status: New

** Bug watch added: KDE Bug Tracking System #94837
   http://bugs.kde.org/show_bug.cgi?id=94837

** Also affects: kdebase via
   http://bugs.kde.org/show_bug.cgi?id=94837
   Importance: Unknown
       Status: Unknown

** Changed in: kdebase (Ubuntu)
   Importance: Undecided => Wishlist

-- 
klipper: grouping and back-references in regular expressions
https://bugs.launchpad.net/bugs/180188
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.




More information about the kubuntu-bugs mailing list