Skip to content

fix(novelbuddy): fix watermark regex for obfuscated watermarks#2196

Closed
7ui77 wants to merge 5 commits into
lnreader:masterfrom
7ui77:fix-novelbuddy-watermark-regex
Closed

fix(novelbuddy): fix watermark regex for obfuscated watermarks#2196
7ui77 wants to merge 5 commits into
lnreader:masterfrom
7ui77:fix-novelbuddy-watermark-regex

Conversation

@7ui77
Copy link
Copy Markdown
Contributor

@7ui77 7ui77 commented May 17, 2026

This PR fixes a bug in the fwnRegex used by the NovelBuddy plugin to remove obfuscated watermarks.

Issue

The l character group in the regex contained an accidental double pipe ||, which created an empty match option. This caused the regex to stop matching prematurely (matching freewebnove instead of freewebnovel.com), leading to incomplete watermark removal.

Fix

Removed the extra pipe character in the l group.

Verification

Verified against Chapter 120 of "Dual Cultivation" which contains the watermark ƒ𝚛𝐞𝚎𝑤𝘦𝚋𝓷o𝚟e𝘭.c𝐨𝙢. The fix allows the regex to match and remove the entire string correctly.

7ui77 added 5 commits May 17, 2026 09:04
Removed an accidental double pipe '||' in the 'l' group of fwnRegex which was causing partial matches and incomplete watermark removal.
@7ui77 7ui77 closed this May 17, 2026
@7ui77 7ui77 deleted the fix-novelbuddy-watermark-regex branch May 17, 2026 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant