-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
regex failing in decoder #519
Comments
Shouldn't those be (.+) ?
|
Yes, I apologize, the git editor removed the backslashes, I added them the right way. Any ideas why this could be failing? I forgot to mention that the prematch:
works correctly, the .* bit of regex successfully parses everything between "... Security:" and " Source". It's like the problem is limited to the regex tag. |
Can you update them use code blocks section so that we can figure out what is happening this has become very hard to follow with the changes. I have already edited your issue with the code block markdown syntax, but still need the content update by you. Thank you |
Thanks for the heads up, I couldn't find the code blocks option in the editor. I've updated the content accordingly. |
Using:
seems to work, anything past that stops working. |
I have the following regex in a decoder
and the following event
Everything between the first "server: " and "Source Network Address" should be captured by the last regex tag. However, the regex not only fails, but also crashes. By removing the last tag, it works perfectly.
It looks like the system cannot use full words to stop processing the regex, like if (.+)Source fails because the word "Source" is used to stop the "eating process" of .+
Is this supposed to be the right behavior?
Thanks.
The text was updated successfully, but these errors were encountered: