You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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:
Could you please have look and check why the regex are not working?
The text was updated successfully, but these errors were encountered:
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
Let's say I have this text:
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:
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:
Could you please have look and check why the regex are not working?
The text was updated successfully, but these errors were encountered: