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

alert_kvstore.py issue on newline #7

Open
SimonSmeets opened this issue Oct 6, 2022 · 1 comment
Open

alert_kvstore.py issue on newline #7

SimonSmeets opened this issue Oct 6, 2022 · 1 comment

Comments

@SimonSmeets
Copy link

The alert action "save to kvstore" does not work when a mv field that is used contains newline characters.
This can be easily fixed by changing one line in the code:

matches = re.match(r'\$(.+)\$', val)
to:
matches = re.match(r'\$(.+)\$', val, re.S)

Might be nice to include in the next release.

@jrzmurray
Copy link
Member

Fixed in version 2.0.9 #8

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

No branches or pull requests

2 participants