hectorqin / hectorqin/reader

过滤规则:是否能够将文本替换为换行

Open
#643 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
11k
Forks
5.5k
PR merge metrics
No merged PRs in 30d

Description

我要将两个空格替换为换行,我在过滤规则中使用了/n , /r, /r/n,启动或是关闭“使用正则表达式”,都不成功,都是直接将两个空格替换为了/n , /r, /r/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

The issue names no files, tests, or entry points. Start by locating the filtering-rule implementation and checking how replacement strings are interpreted, then reproduce replacing two spaces with a newline with regular expressions enabled and disabled. Done means the documented replacement syntax produces an actual line break rather than literal escape text.

Written by the indexing model from the issue text.

Assessment

Domain
content
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.