Skip to content

File Search (using regex) renders correct results on Windows, but no results on macOS #119789

@i-a-m-d

Description

@i-a-m-d
  • VS Code Version: 1.54.3
  • OS Version: macOS 10.13.6 High Sierra

Steps to Reproduce:

  1. Create a file with a bunch of text, containing the words 'excel' and 'api' in random positions
  2. Close the file editor
  3. Perform a File Search with the following regex: ^(?=[\s\S\n]*(excel))(?=[\s\S\n]*(api))[\s\S\n]*$
  4. On the macOS version of VS Code, no files are found. On the Windows version, the regex properly matches.

Does the macOS version us a different regex engine than the Windows version?

Does this issue occur when all extensions are disabled?: Yes

Metadata

Metadata

Assignees

Labels

searchSearch widget and operation issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions