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

Fix table cell renderer highlighting of search term matches #1167

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

PatrickTasse
Copy link
Contributor

@PatrickTasse PatrickTasse commented Jan 28, 2025

What it does

Use global regex to get all matching strings not only the first match.

Handle different behavior of String.split() when regex contains capturing groups.

Fixes #1160

How to test

Try a regex with multiple not-equal matches, e.g. a|b.
Try a regex with captured matching groups, e.g. (a|b).
Try a regex with captured and uncaptured matches, e.g. a|(b)

Follow-ups

N/A

Review checklist

  • As an author, I have thoroughly tested my changes and carefully followed the instructions in this template

@PatrickTasse PatrickTasse force-pushed the regex branch 2 times, most recently from fdca465 to 829938c Compare January 28, 2025 16:49
Use global regex to get all matching strings not only the first match.

Handle different behavior of String.split() when regex contains
capturing groups.

Fixes eclipse-cdt-cloud#1160

Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
@marcdumais-work
Copy link
Contributor

There are two dependencies not passing the license check - same when I run the license check on master locally. They both already have a IP ticket:

https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19199
https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19201

Since the PR here is not introducing them, I would say feel free to ignore those 2

Copy link
Collaborator

@bhufmann bhufmann left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks!

@PatrickTasse PatrickTasse merged commit b39c595 into eclipse-cdt-cloud:master Jan 28, 2025
5 of 6 checks passed
@PatrickTasse PatrickTasse deleted the regex branch January 28, 2025 19:10
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.

Events table search filter causes displayed string to change when using groups
3 participants