nbianco1 / facets-loghound

Automatically exported from code.google.com/p/facets-loghound
0 stars 0 forks source link

Validate tag text #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Tags should be alphanumeric strings with no spaces that allows the underscore 
and hyphen special characters only.

This is to ensure that during processing and business logic operations that we 
don't accidentally break a tag up on an included space, or run into any 
problems with regex.

Original issue reported on code.google.com by ogradyjd@gmail.com on 18 Sep 2010 at 4:09

GoogleCodeExporter commented 8 years ago
Added a regular expression check for the tags.  Tags now have to be at least 2 
characters long, the first being an alpha character, the second and so on being 
alphanumeric, a dash, or an underscore.

Original comment by ogradyjd@gmail.com on 6 Oct 2010 at 9:39