When you use a wildcard tag search on questions with any perl* tag, it erroneously includes the tag in the search set:

perl* tag search images

Notice the regex tag at the bottom. It should not be there, because contrary to popular belief, perl != regex. :)

  • 2
    perl-regex is a synonym of regex. – Tim Stone Jul 23 '13 at 17:06
  • 2
    @TimStone That’s um, nuts. – tchrist Jul 23 '13 at 17:06
  • @tchrist you are thinking about synonyms backwards. They're one-way relationships, not two-way. – Joe Jul 23 '13 at 17:15
  • @Joe That may well be, but this is an unfortunate situation that makes such searches a big pain in the butt. – tchrist Jul 23 '13 at 17:34
  • Is there no way to say "not ..." in search? – Joe Jul 23 '13 at 17:51
  • @Joe -[regex] – Doorknob Jul 23 '13 at 21:39
  • @Doorknob The problem is that that doesn’t work in the “favorite tags” selection. If I’ve selected perl*, I shouldn’t therefore get regex too. – tchrist Jul 23 '13 at 21:40
  • 1
    Unfortunately that doesn't seem to work with the wildcard; still get regex-not-regular-perl in the search. – Joe Jul 23 '13 at 21:41

There is a tag - which is a synonym of , as can be seen on its synonym page

perl* will catch perl-regex which shows up as regex due to the synonym relationship.

  • How can this be a good thing? I’m pretty sure there are non-Perl regexes in existence. – tchrist Jul 23 '13 at 17:07
  • 1
    @tchrist - Did I say it was a good thing? Synonyms are suggested and accepted by the community. – Oded Jul 23 '13 at 17:07
  • Yeah, ok. Somebody made a mistake then. – tchrist Jul 23 '13 at 17:07
  • 4
    No, it's not a mistake. The point of the synonym for perl-regex mapping to regex is that anything tagged perl-regex gets moved to regex, which is fine. regex is not assumed to be related to perl in any way. It just happens to come up with the wildcard search; perhaps that should be fixed, but I'm not sure it should be - in other similar cases you might prefer the synonym to be included. – Joe Jul 23 '13 at 17:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .