Closed oreporan closed 5 years ago
Was an internal issue, closing
Turns out the problem was that my regex:
/^(([^<>()[]\\.,;:s@"]+(.[^<>()[]\\.,;:s@"]+)*)|(".+"))@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}])|(([a-zA-Z-0-9]+.)+[a-zA-Z]{2,}))$/
When turned to a string by just converting /
to '
was not the same.
since urlValueParser
allows Regex, I think in the typescript definition you should allow (string|RegExp)[]
good point. Will fix together with the docs. Thanks!
Also - any chance to get an example of transformLabels
? :)
Hey, I can't seem to get the extraMasks of the
urlValueParser
working, my setup looks like this -The regex is not catching, I know this because I'm using the same
UrlValueParser
library for my logger in a different area of my code -Works:
any ideas why? I saw from your code that the options are being passed, so I can't figure out the issue...
Also, in your includePath example you omit the
includePath : true