notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

Extended Search not working for HEX search for higher characters

Open
#4,394 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
29.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

I can see xEFxBFxBF highlited in black, meaning it's high character without regular representation. I want to search for let's say HEX 0xBF, so I tried Extended mode with \xBF, regular expressions, and other possible representations but it doesn't work for me

Debug info:

Notepad++ v7.5.6   (64-bit)
Build time : Mar 19 2018 - 00:23:17
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 10 (64-bit)
Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll 

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in Notepad++ v7.5.6 using Extended mode and a HEX search for 0xBF, then trace the search behavior for the displayed high-character sequence. Confirm the fix by showing that the search locates and highlights the intended character.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.