Skip to content
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

Capture newlines in message #28

Merged
merged 6 commits into from
Jan 16, 2024
Merged

Capture newlines in message #28

merged 6 commits into from
Jan 16, 2024

Conversation

dasfmi
Copy link
Collaborator

@dasfmi dasfmi commented Jan 16, 2024

The fix applies changes to regex to capture the rest of the message text including new lines.

The screenshot below show the record.message after the fix, includes the rest of the message correctly.

Screenshot 2024-01-16 at 11 16 04 AM

The `.*` doesn't catch new lines. Its now updated to `(?s:(.*))`
to be able to capture the rest of the message as on line.
@mhr3
Copy link

mhr3 commented Jan 16, 2024

Tests?

@dasfmi
Copy link
Collaborator Author

dasfmi commented Jan 16, 2024

Tests?

on it

@dasfmi dasfmi requested a review from mhr3 January 16, 2024 11:16
@dasfmi
Copy link
Collaborator Author

dasfmi commented Jan 16, 2024

Tests?

updated, you can check now.

@dasfmi dasfmi merged commit dbfbf7a into main Jan 16, 2024
7 checks passed
@dasfmi dasfmi deleted the capture-newlines-in-message branch January 16, 2024 14:16
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.

3 participants