Global regular expression search is not finding all occurences...
Reported by
m...@codeavengers.com,
Mar 23 2017
|
|||||||
Issue descriptionUserAgent: 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.
,
Mar 24 2017
Thanks for filing the issue. mike@@ could you please provide a sample test file to triage the issue from TE end. Thanks.
,
Mar 24 2017
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?
,
Mar 24 2017
This file has come from a windows machine...
,
Mar 24 2017
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
,
Mar 27 2017
,
Apr 6 2017
lushnikov, can you take a look please?
,
Dec 6 2017
I can't reproduce this on Chrome M65. Does it still happen for you?
,
Dec 6 2017
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.
,
Dec 15 2017
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?
,
Jun 28 2018
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 |
|||||||
Comment 1 by ajha@chromium.org
, Mar 23 2017