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

Simplify regexp's #1202

Merged
merged 1 commit into from
Oct 28, 2019
Merged

Simplify regexp's #1202

merged 1 commit into from
Oct 28, 2019

Conversation

beorn7
Copy link
Contributor

@beorn7 beorn7 commented Oct 25, 2019

This is mostly to remove redundant anchoring (as it makes people
believe that Prometheus's regexp's aren't anchored by default, which
will backfire badly at some point), but it also removes useless
grouping (again to avoid confusion).

This should not change the effective behavior. Not sure if that justifies a helm chart version bump.

@CLAassistant
Copy link

CLAassistant commented Oct 25, 2019

CLA assistant check
All committers have signed the CLA.

This is mostly to remove redundant anchoring (as it makes people
believe that Prometheus's regexp's aren't anchored by default, which
will backfire badly at some point), but it also removes useless
grouping (again to avoid confusion).

Signed-off-by: beorn7 <beorn@grafana.com>
@tomwilkie tomwilkie requested review from slim-bean and removed request for tomwilkie October 28, 2019 10:47
@tomwilkie
Copy link
Contributor

This looks about right to me, but Ed's probably the best person to review this.

@beorn7
Copy link
Contributor Author

beorn7 commented Oct 28, 2019

@slim-bean please rubberstamp. 😁

Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

LGTM

Ed is off today.

@cyriltovena cyriltovena merged commit 1b251e5 into master Oct 28, 2019
@beorn7 beorn7 deleted the beorn7/regexp branch October 28, 2019 17:21
@beorn7
Copy link
Contributor Author

beorn7 commented Oct 28, 2019

Oh noes, you cannot properly merge in this repo! As a git fanboy, I'm terrified! 😁

cyriltovena pushed a commit to cyriltovena/loki that referenced this pull request Jun 11, 2021
mraboosk pushed a commit to mraboosk/loki that referenced this pull request Oct 7, 2024
This is mostly to remove redundant anchoring (as it makes people
believe that Prometheus's regexp's aren't anchored by default, which
will backfire badly at some point), but it also removes useless
grouping (again to avoid confusion).

Signed-off-by: beorn7 <beorn@grafana.com>
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.

4 participants