-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
- whitelist 👉
(?=⋯⋯)(?<=⋯⋯)☑Supported - blacklist 👉
(?!⋯⋯)(?<!⋯⋯)❌not support, Can support them ❓
(?!⋯⋯)(?<!⋯⋯)is a very, very useful and efficient ⏳ filter(blacklist)
🗣Otherwise, the intelligent blacklist matching cannot be realized.
General usage: abc(?!⋯⋯).* or abc(?!⋯⋯) .*(?<!⋯⋯)abc or (?<!⋯⋯)abc
for example !^(https?://)www\.(.*/.*)!$1$2!gm But how to exclude a certain keyword? 👇
!^(https?://)www\.(?!ithome|pan)(.*/.*)!$1$2!gm
^(https?://)www\.(?!ithome|pan)(.*/.*)
👆There is no problem with this regularity itself,
Please see the following RegExp matching testing 👇
or RegExp graphical analysis.👇
Metadata
Metadata
Assignees
Labels
No labels

