clyde icon indicating copy to clipboard operation
clyde copied to clipboard

Clyde should support regular expression matching.

Open thomasdziedzic opened this issue 15 years ago • 3 comments

It would be very convenient at times. One situation, I want to remove all lib32 packages from my system. The ideal solution would be if clyde supported something like: clyde -R lib32*

P.S. first! issue :)

thomasdziedzic avatar Feb 20 '10 23:02 thomasdziedzic

I have considered this in the past and have yet to decide either way the viablity/necessity of implementing more than there already is. Both pacman and clyde to the same extent that pacman does, support regex to at least some degree.

Kiwi avatar Feb 24 '10 15:02 Kiwi

This is also difficult because AUR doesn't support regex

Daenyth avatar Jun 23 '10 16:06 Daenyth

Support for ^ and $ regexp anchors has been added, thanks to "paradoq" for the patch. Clyde removes the ^ and $ from the string, searches the AUR for the resulting string, and filters the results using the anchored regexp. Until AUR includes support for regexp searches this is as good as it gets.

juster avatar Jul 05 '10 20:07 juster