stefankueng / grepWin

A powerful and fast search tool using regular expressions
https://tools.stefankueng.com/grepWin.html
GNU General Public License v3.0
1.72k stars 179 forks source link

Regex hex search incorrect? #486

Closed Hexaae closed 2 months ago

Hexaae commented 2 months ago

image

As you can see GrepWin finds a pair of matches of hexadecimal string: $0000536900... but there is no trace of that exact string in the file. Mmmh...

stefankueng commented 2 months ago

what it actually finds is also \x00\x00\x53\x49, because you also have 'search case-sensitive' unchecked. The case-insensitive search also affects the hex search.

Hexaae commented 2 months ago

Ah! I had that doubt in fact... Thank you.