find in files with regular expression doesn't show result if only 1 hit
-
I am searching a number of files by a ‘regular expression’ ‘Find in files’. If there are multiple hits in a file, they are shown correctly in the results. If there is only 1 hit, I do see in the results that there is a hit, but it always shows line 1 as the result instead of the correct line number. If I open the file in Notepad++ and then run a ‘Find’ with the same regular expression, the correct hit is shown. And the problem does not occur with ‘normal’ or ‘extended’ search via ‘Find in files’ either. I just updated to version 8.1 (64 bit, Windows 10), but I see no improvement.
-
How about showing a demo of that, where you provide specifics?
Some test data, the actual regex used, that kind of thing?
Otherwise, I don’t think anyone will be able to help you.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login