What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 150 Stack Exchange communities.

If I want to tag some question [php-server] and mistype that as "php -server" (white space inserted), it comes out as the following display:

[php] not [server]

See this question on Stack Overflow, as well as another, and an example on Meta.

share|improve this question
I don't think that's a bug, that's user error. – C. Ross Nov 19 '09 at 13:23
I've also seen this on a migrated question whose tags were auto-cleaned, but unfortunately I can't remember what the resulting tag was. – mmyers Nov 19 '09 at 15:23

2 Answers 2

up vote 2 down vote accepted

I don't think it's possible to enter tags as [php] [-server] now. At least when I try it on dev, it gets stripped out.

share|improve this answer
I just saw an example over at: stackoverflow.com/questions/2391767 The original tags on that post were just c# and post and then the other two were added later. That might be a clue. – Greg Hewgill Mar 6 '10 at 7:54

Tags are not allowed to be preceded by "-"

Works as designed.

share|improve this answer
I guess the engine could automatically eliminate a white space in such case. – sharptooth Nov 19 '09 at 14:44
That would cause the reverse issue - if someone attempted to tag a question "C" and "--x" then they'd end up with "c--x" I'm curious what the issue is - I obviously don't see a problem with the current implementation, but you are trying to solve something. Is the problem, "The system should correct user mistakes" or "The system should accept '-' at the start of a tag" ? – Adam Davis Nov 19 '09 at 15:24
IMO the problem is that the system should correct mistakes (or I guess it is better to call this data normalization since really having tags starting with a minus doesn't seem useful). – sharptooth Nov 20 '09 at 6:45
This is not an error! What if somebody legitimately wanted to search for PHP, but nothing to do with servers? – Phoshi Dec 19 '09 at 16:16

You must log in to answer this question.

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