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

relax regex to match anywhere #1047

Merged
merged 1 commit into from
May 14, 2024
Merged

relax regex to match anywhere #1047

merged 1 commit into from
May 14, 2024

Conversation

ab77
Copy link
Member

@ab77 ab77 commented May 14, 2024

.. this should match for the string * [only keep the important and rephrase] anywhere in the release notes text, without being tripped up by new lines, etc. (or if more whitespace is added by accident).

(string to match)
https://github.com/balena-io/environment-production/actions/runs/9082537944/job/24959245850#step:5:46

(aggressive regex)
https://github.com/balena-io/environment-production/actions/runs/9082537944/job/24959245850#step:5:133

(wrong, should be found)
https://github.com/balena-io/environment-production/actions/runs/9082537944/job/24959245850#step:5:138

.. suspect \n at the end is the cause.

change-type: patch
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.

None yet

2 participants