Skip to main content
edited tags
Link
Sklivvz
  • 101
  • 3
added 71 characters in body
Source Link

A million years ago (in Internet years), Jeff put a Jeff put a tagtag blacklist in place to stop people tagging things with linux or unix. Probably makes sense but I think his regex was bum:

^linux|unix$

That's being interpreted as:

begins with linux or ends with unix

I don't think this was the original aim here.

Why is this a problem? Well I've just tried to tag something as linux-headers (a real package in Ubuntu) and a pretty important one if you're compiling stuff against the kernel. Of course there are flowery alternative I could pick (or create), but I just don't see why this is blocked.

TL;DR: I think we need the regex updating to:

^(linux|unix)$

A million years ago (in Internet years), Jeff put a tag blacklist in place to stop people tagging things with linux or unix. Probably makes sense but I think his regex was bum:

^linux|unix$

That's being interpreted as:

begins with linux or ends with unix

I don't think this was the original aim here.

Why is this a problem? Well I've just tried to tag something as linux-headers (a real package in Ubuntu) and a pretty important one if you're compiling stuff against the kernel. Of course there are flowery alternative I could pick (or create), but I just don't see why this is blocked.

TL;DR: I think we need the regex updating to:

^(linux|unix)$

A million years ago (in Internet years), Jeff put a tag blacklist in place to stop people tagging things with linux or unix. Probably makes sense but I think his regex was bum:

^linux|unix$

That's being interpreted as:

begins with linux or ends with unix

I don't think this was the original aim here.

Why is this a problem? Well I've just tried to tag something as linux-headers (a real package in Ubuntu) and a pretty important one if you're compiling stuff against the kernel. Of course there are flowery alternative I could pick (or create), but I just don't see why this is blocked.

TL;DR: I think we need the regex updating to:

^(linux|unix)$
deleted 122 characters in body
Source Link
Oli Mod
  • 297.2k
  • 2
  • 147
  • 263

A million years ago (in Internet years), Jeff put a tag blacklist in place to stop people tagging things with linux or unix. Probably makes sense but I think his regex was bum:

^linux|unix$

I suspect (though it's been a while since I've meddled withThat's .NET regexes) that it's interpreted asbeing interpreted as:

begins with linux or ends with unix

Regex Storm agrees with my interpretation. Again, I don't think this was the original aim here.

Why is this a problem? Well I've just tried to tag something as linux-headers (a real package in Ubuntu) and a pretty important one if you're compiling stuff against the kernel. Of course there are flowery alternative I could pick (or create), but I just don't see why this is blocked.

TL;DR: I think we need the regex updating to:

^(linux|unix)$

A million years ago (in Internet years), Jeff put a tag blacklist in place to stop people tagging things with linux or unix. Probably makes sense but I think his regex was bum:

^linux|unix$

I suspect (though it's been a while since I've meddled with .NET regexes) that it's interpreted as:

begins with linux or ends with unix

Regex Storm agrees with my interpretation. Again, I don't think this was the original aim here.

Why is this a problem? Well I've just tried to tag something as linux-headers (a real package in Ubuntu) and a pretty important one if you're compiling stuff against the kernel. Of course there are flowery alternative I could pick (or create), but I just don't see why this is blocked.

TL;DR: I think we need the regex updating to:

^(linux|unix)$

A million years ago (in Internet years), Jeff put a tag blacklist in place to stop people tagging things with linux or unix. Probably makes sense but I think his regex was bum:

^linux|unix$

That's being interpreted as:

begins with linux or ends with unix

I don't think this was the original aim here.

Why is this a problem? Well I've just tried to tag something as linux-headers (a real package in Ubuntu) and a pretty important one if you're compiling stuff against the kernel. Of course there are flowery alternative I could pick (or create), but I just don't see why this is blocked.

TL;DR: I think we need the regex updating to:

^(linux|unix)$
added 131 characters in body
Source Link
Oli Mod
  • 297.2k
  • 2
  • 147
  • 263
Loading
Source Link
Oli Mod
  • 297.2k
  • 2
  • 147
  • 263
Loading