Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Graphite: Replace names with non-alphanumeric chars with '-' #936
The fix won't allow any characters that will interfere with Graphite's display or functions.
Instead of using fancy regex, this PR uses code ported from Guava's CharMatcher and Apache's StringUtils.
This PR was made against master because this may break other's graphite metric names, even if some of them aren't 100% valid (eg.