-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Closed
Labels
author-verification-requestedIssues potentially verifiable by issue authorIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderssearchSearch widget and operation issuesSearch widget and operation issuesverifiedVerification succeededVerification succeeded
Milestone
Description
Issue Type: Bug
I'm using the following regex: LOGGER\.[^\n]+\s+raise to find constructs like this one:
_LOGGER.warning("The UUID %s is not valid suggestion", suggestion.uuid)
raise ResolutionError()
It only finds them, when searching in a file directly. Searching over the entire opened directory doesn't work.
It's not that regex doesn't work at all, but something is handled differently:
The impartial regex LOGGER\.[^\n]+ does get executed, however the highlighting there doesn't seem right. [^\n]+ should match at least one character, but none is highlighted:

VS Code version: Code 1.60.2 (7f6ab54, 2021-09-22T12:01:43.795Z)
OS version: Linux x64 5.13.0-7614-generic
Restricted Mode: No
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2200) |
| GPU Status | 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: disabled_off opengl: enabled_on rasterization: disabled_software skia_renderer: enabled_on video_decode: disabled_software vulkan: disabled_off webgl: enabled webgl2: enabled |
| Load (avg) | 1, 1, 1 |
| Memory (System) | 15.49GB (7.54GB free) |
| Process Argv | --unity-launch --crash-reporter-id 62242867-3816-48c2-9a38-c914442ff244 |
| Screen Reader | no |
| VM | 0% |
| DESKTOP_SESSION | pop |
| XDG_CURRENT_DESKTOP | Unity |
| XDG_SESSION_DESKTOP | pop |
| XDG_SESSION_TYPE | x11 |
Extensions (7)
| Extension | Author (truncated) | Version |
|---|---|---|
| gitlens | eam | 11.6.0 |
| latex-workshop | Jam | 8.20.2 |
| vscode-abap | lar | 0.5.4 |
| python | ms- | 2021.9.1246542782 |
| vscode-pylance | ms- | 2021.9.4 |
| jupyter | ms- | 2021.8.2041215044 |
| jupyter-keymap | ms- | 1.0.0 |
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
vsccppwtct:30364498
pythonvssor306:30344512
bridge0708:30335490
pygetstartedt2:30371810
dockerwalkthrucf:30370837
bridge0723:30353136
pythonrunftest32:30373476
pythonf5test824:30373475
javagetstartedt:30364666
pythonvspyt187:30373474
pydsgsc2:30361791
vsqsis400:30374798
Metadata
Metadata
Assignees
Labels
author-verification-requestedIssues potentially verifiable by issue authorIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderssearchSearch widget and operation issuesSearch widget and operation issuesverifiedVerification succeededVerification succeeded
