Closed temporaer closed 10 years ago
Looks good to me.
Why would perl notation break compatibility, though? I think we could pick !~
just as well or am I missing something? (I'd rather not use =~
so as not to clash with Ruby syntax too much).
No, it would work, but I thought it would be more consistent to have the two matching. I'll update the patch for !~
then.
Sigh, no idea why this fails on travis (works for me with jruby as well)...
I'll try to figure it out and push version 4.0.4 to rubygems asap.
It was something completely unrelated after all. Anyway, pushed version 4.0.4 with your changes. Cheers!
there are various kinds of "@incollections" papers, e.g. workshop papers, which I don't want to put in the same list as other papers on my website. This commit allows to use an attribute like a tag list, where you can select or exclude entries.
On the choice of operator (
%=
): I'm not too fond of it, I'd prefer to use perl notation (=~
and!~
), but that would break compatibility. Feel free to suggest an alternative.