Hi, I've just installed xfce4-clipman and xfce4-clipman-plugin from debian unstable repository. I've decided to start using action, especially the built-in "bug". I've changed the pattern to "#([0-9]+)". It does match the following snippets : #519165 #519165. #519165 and some example values Regarding bug 5736, this is ok, but then, I got the following action : "exo-open http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=\1" The \1 should be the numerical value inside the selection. By now, the whole value after the "#" is appended to the URL. For example, Clipman launchs "exo-open http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519165 and some example values" (and I got 5 new tabs in Firefox ;)) This make me think that the regexp engine made a mistake somewhere.
I can reproduce this pattern with the bug too. It must be a bug in gtk+ or libpcre.
The regex compilation flag ANCHORED doesn't work as expected with the replace function. ANCHORED is supposed to enclose the pattern with the special characters ^...$. Removing this compilation flag and putting the anchors in the pattern works fine in the replace function. I will file a bug on gnome.org.
I was wrong about ANCHORED, it doesn't constraint the string to be matched at the last matching point. I will have to modify the pattern manually and append a $.
Pushed into git.