Skip to content

parser/rfc5424-date: allow to terminate on any non-alnum character#277

Open
julthomas wants to merge 1 commit intorsyslog:masterfrom
julthomas:dev/jth/rfc5424
Open

parser/rfc5424-date: allow to terminate on any non-alnum character#277
julthomas wants to merge 1 commit intorsyslog:masterfrom
julthomas:dev/jth/rfc5424

Conversation

@julthomas
Copy link
Contributor

Terminating on a space was too restrictive. The patch allow the
match to terminate on any non-alnum character, thus allowing space,
tab, comma, ...

Terminating on a space was too restrictive. The patch allow the
match to terminate on any non-alnum character, thus allowing space,
tab, comma, ...
Copy link
Member

@rgerhards rgerhards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry for the late reply. The patch sounds to cause some issues with existing configs, also there are probably many cases where the strictness is required. I think we could re-use the idea of the "lazy" matching mode from the String parser: #299

Let me know if you would be interested in doing this, else I'll go over it in a while - especially as I am not sure you monitor the PR after that long time...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants