There shouldn't be a significant time difference between the two scripts, it's really about good structure and readability.

%rl = $4-6 should work as you're probably given relatively well structured input, but capturing exactly what you want is always better. For that I'd need to see an example of the different lines (or their structures) to construct a proper regex which would extract just the release name.

The group and tag matching above are examples of inclusive filters. If you'd also like to use exclusive filters, you'd do so much in the same way except by inverting the check. Here you could reject text containing any filter you set.

Code:
if (%exclude) && ($hget(exclude,%exclude)) { return }

Last edited by Loki12583; 25/09/12 03:47 PM.