New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 704374 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Last visit 29 days ago
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Global regular expression search is not finding all occurences...

Reported by m...@codeavengers.com, Mar 23 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3046.0 Safari/537.36

Steps to reproduce the problem:
Here is what I did to encounter this problem. It occurs very frequently for me.

1. Go to global search
2. Search for "#match" and it works correctly, finds hits in 176 files
3. Turn on regular expression search and search for "#match" now it finds hits in 175 files. It misses matches in a file that was recently updated from git.
4. Try search for "#match, file:design/2.json" without regexp on... and it finds all the matches.
5. Try search for "#match, file:design/2.json" with regexp on... and NO MATCHES

What is the expected behavior?
I would expect that it can find matches in all the files with regexp turned on and off.

What went wrong?
Regular expression search is not finding matches in all files.

Did this work before? No 

Chrome version: 59.0.3046.0  Channel: canary
OS Version: 10.0
Flash Version: 

This has happened for me ever since I started using dev tools a couple of years ago... or at least since I remember the regular expression global search being around.

I suspect it has something to do with files being updated on git, and not being reindexed correctly.
 

Comment 1 by ajha@chromium.org, Mar 23 2017

Labels: Needs-Triage-M59
Cc: sureshkumari@chromium.org
Labels: Needs-Feedback
Thanks for filing the issue.
mike@@ could you please provide a sample test file to triage the issue from TE end.

Thanks.
Here is one file that is not showing up in the global search results.

I checked with one of our other developers who had Mac and the same file was not showing up for him as well.

I was wondering if it has something to do with line endings?
2.json
222 KB View Download
This file has come from a windows machine...
Project Member

Comment 5 by sheriffbot@chromium.org, Mar 24 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "sureshkumari@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: TE-NeedsTriageHelp
Owner: lushnikov@chromium.org
lushnikov, can you take a look please?
Status: Assigned (was: Unconfirmed)
I can't reproduce this on Chrome M65. Does it still happen for you? 
Strangely yes. I have lots of other files that I do the exact same regular expression with, and it words no problem. But with that file it doesn't.

I've had other strange things like that happen before, but this was the first time I actually recorded it and checked it on multiple computers.
So, with just this file ("2.json") it doesn't repro for me. Can you please share you set of files with me so that I can investigate?

Comment 11 by l...@chromium.org, Jun 28 2018

Labels: Needs-Feedback
Status: Archived (was: Assigned)
Archiving, since we were not able to reproduce, but will take a look if there is more info in the future.

Sign in to add a comment