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

[A-Z] regex does not work

Open
#16,422 4 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

Hello

It seems for some reason we cannot use regex to match a capital letter like [A-Z]. I tried to match a capitalised word but it does not seem to work.

Is this a bug?

Thank you

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 reported failure in Notepad++'s regex search using [A-Z] against a capitalized word. Record the Notepad++ version, search settings, input text, and expected versus actual result before locating the relevant search code or tests; done means the behavior is understood and a regression test or confirmed fix exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop-dev, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.