The filter is a "regular expression", so you can't just use *
> (gimp-gradients-get-list ".*tract")
(3 ("Abstract 1" "Abstract 2" "Abstract 3"))
Here I've specified I want to match zero or more characters in front of "tract"
Whereas here:
(gimp-gradients-get-list ".*tract [2-3]")
(2 ("Abstract 2" "Abstract 3"))
I'm matching the same as above, but only those with numbers in the range 2 -> 3
Good luck learning how to use regular expressions
Kevin
More examples:
Containing the string "flag":
(gimp-gradients-get-list "flag")
(8 ("French flag" "French flag smooth" "German flag" "German flag smooth" "Mexican flag" "Mexican flag smooth" "Romanian flag" "Romanian flag smooth"))
"flag" must be the end of the name
(gimp-gradients-get-list "flag$")
(4 ("French flag" "German flag" "Mexican flag" "Romanian flag"))
Contains either "Yellow" or "Green":
(gimp-gradients-get-list "Yellow|Green")
(8 ("Yellow Orange copy" "Blue Green" "Greens" "Neon Green" "Neon Yellow" "Radial Eyeball Green" "Yellow Contrast" "Yellow Orange"))