vnotex / vnotex/vnote

正则表达式,非贪婪模式匹配(最小匹配模式)不支持

Open
#1,179 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
13k
Forks
1.3k
Avg merge
14h 3m
Merged PRs (30d)
3

Description

OS Version (操作系统): Windows(Linux, macOS未使用,可能相同)

VNote Version (Help - About VNote - Version: )(VNote版本): 2.8

Symptoms (表现):ctrl+F页面内查找内容,启用正则表达式时,使用.*可以进行贪婪模式匹配;
.*? 不能成功匹配任何字符
类似如.{n}?也不能

不知道是不是语法不太一样,可能鄙人才疏学浅,并且未找到文档中的相关介绍,望指教

若不支持非贪婪模式,请问能否加入非贪婪模式的匹配呢,万分感谢

Contributor guide

No contributing guide indexed for this repository

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 with the Ctrl+F in-page search entry point and trace how regular-expression patterns are matched. Compare the reported .* and .*? cases, then verify the behavior on Windows and confirm that non-greedy patterns such as .{n}? work as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, search
Issue type
Feature
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.