jarkkos/smack — pull request #13 by ravisankarg (2012-03-13 13:45:37+00:00)
Title: utils: chsmack - check label rules before applying

i think it makes sense to validate labels before applying.

rules.
1. one to twenty-three characters in length.
2. cannot contain unprintable characters, the "/" (slash),
the "\" (backslash), the "'" (quote) and '"' (double-quote) characters.
3. cannot begin with a '-', which is reserved for special options.