[Q&A] is regex "capture until a character" supported? #4617
Unanswered
adelbordbari
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What is a problem?
in my regex pattern, I have few cases where I need to "capture everything until a character" (e.g.,
"
or\n
)this works well in regex101 (where I test my patterns) but in fluentd, it does not. exactly any capture group that includes this rule, throws this error:
[warn]: #0 pattern not matched data
, while other captures are finehere's the link of my regex pattern: https://regex101.com/r/1ptfv6/1
my question is, is this pattern supported? why doesn't it work in fluentd but it does in regex? what are my alternatives?
thank you.
Describe the configuration of Fluentd
Describe the logs of Fluentd
Screenshot
for better readability

Environment
Beta Was this translation helpful? Give feedback.
All reactions