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

Regex \p{L} finds only English letters

Open
#8,206 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

A search for the regular expression \p{L} should find any Unicode LETTER character.

In Notepad++ it only finds the letters in the Basic Latin block.

So, e.g., it does not match \xE6 - Latin Small Letter æ in the Latin-1 Supplement block,
let alone any letters in non-Roman scripts.

If this syntax is supported at all, it should meet the full documented definition.

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 a search for \p{L} using æ and a letter from a non-Roman script, then inspect the regular-expression search implementation. Compare the observed matches with the documented Unicode LETTER definition. Done means \p{L} matches letters beyond the Basic Latin block.

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.