Error with redact() function - regex parse error: look-around, including look-ahead and look-behind, is not supported: ^^^:
#22600
-
I am currently on vector version v0.34.0. Has this feature been added between current release and v0.34.0? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey! Unfortunately it has not. This regex library Vector uses puts an emphasis on bounded performance of regular expressions and those sorts of regex operations (lookaround and backreferences) can explode the computation required. This is mentioned in the library documentation:
https://docs.rs/regex/latest/regex/ If you really need it, and are ok with subpar and potentially unbounded execution, you could drop down into Lua via the |
Beta Was this translation helpful? Give feedback.
Hey! Unfortunately it has not. This regex library Vector uses puts an emphasis on bounded performance of regular expressions and those sorts of regex operations (lookaround and backreferences) can explode the computation required. This is mentioned in the library documentation: