Closed ihard closed 4 years ago
this really is stuff that the regex implementation takes care of, which one are you using?
carbon-c-relay -v
should print it for you.
carbon-c-relay v3.6 (49b564-dirty)
regular expressions library: libc
I thought a little and got around this error like this:
^.{250,}.{251,}$
In version 3.2 I used a simple restriction on the length of the passed metric:
^.{500,}$
However in versions 3.5 and 3.6 I see this error:
Experimentally I realized that the maximum number is 255 at which this expression is valid. Is there any way to check the length of the metric more than 255 characters?