microsoft / vscode-hexeditor

VS Code Hex Editor
https://marketplace.visualstudio.com/items?itemName=ms-vscode.hexeditor
MIT License
533 stars 89 forks source link

RegEx search broken in Hex Editor #406

Closed LS2021 closed 9 months ago

LS2021 commented 1 year ago

Type: Bug

Using the regex search feature on binary files yeilds incorrect results. It even seems like only wrong matches are found. This, however does only appear to be an Issue when using binary formats like .jpg files. and not to bethe case if opening text based formats or plain .txt-Files.

image

Extension version: 1.9.9 VS Code version: Code 1.74.2 (e8a3071ea4344d9d48ef8a4df2c097372b0c5161, 2022-12-20T10:29:14.590Z) OS version: Windows_NT x64 10.0.22621 Modes: Sandboxed: Yes

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 x 2304)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|undefined| |Memory (System)|15.77GB (7.88GB free)| |Process Argv|--crash-reporter-id f6862dff-90a4-405e-8e21-ab5a8f4e9ea0| |Screen Reader|no| |VM|0%|