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

Not working regex #8

Open
thomaslc66 opened this issue Apr 8, 2022 · 1 comment
Open

Not working regex #8

thomaslc66 opened this issue Apr 8, 2022 · 1 comment

Comments

@thomaslc66
Copy link

thomaslc66 commented Apr 8, 2022

Let's say I have this text:

Posted 3 weeks ago
Rystad Energy
DevOps Engineer
Rystad Energy Your Energy Knowledge House

if I search for "ago" the result in the new file is "Posted 3 weeks ago". This is not the regex I need and as you can see here the regex should only return ago and not the entire line:
image

Then if I search for ago\n.*\n to have the "Rystad Energy" I get a "no match found" on the visual studio plugin. But when I test it on regex 101:
image

Could you please have look and check why the regex are not working?

@Ara225
Copy link
Owner

Ara225 commented Jun 21, 2022

Hi,
Sorry I missed this, I'm afraid it was only ever meant to operate with whole lines because that's what I wanted it for at the time but you do make a good point

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