QUANX_API Telegram 43
#解析器
2020-08-19

有人问,解析器能否 选择性给部分节点 开启/关闭 udp
🗣答案是🉑️

因为需求小众,所以没有单独的参数,
但可用现有的 replace 参数更改节点内容来实现
replace=oldregex@newregex

示范:给🇰🇷/🇬🇧 BGP开启udp,关闭🇭🇰IEPL 01/02的udp

参数内容:
replace=(udp-relay=)(.*true)(.*IEPL%20(01|02))@$1false$3+(udp-relay=)(.*false)(.*(🇰🇷|🇬🇧).*BGP)@$1true$3

说明:
- 中间的'+'号用来连接两个需求
- 第一个为 (udp-relay=)(.*true)(.*IEPL%20(01|02))@$1false$3
- 其中$1$3分别代表第1跟第3括号里的内容,第一个括号内容匹配udp-relay参数,第3个括号匹配到节点名部分
- 而 false 将会替代第2括号内的 true(即关闭udp)
- 后者🇰🇷🇬🇧同理

(Ps. 严格来说,上面参数里的 - 跟 = 都应该加转义符\)



tgoop.com/QuanX_API/43
Create:
Last Update:

#解析器
2020-08-19

有人问,解析器能否 选择性给部分节点 开启/关闭 udp
🗣答案是🉑️

因为需求小众,所以没有单独的参数,
但可用现有的 replace 参数更改节点内容来实现
replace=oldregex@newregex

示范:给🇰🇷/🇬🇧 BGP开启udp,关闭🇭🇰IEPL 01/02的udp

参数内容:
replace=(udp-relay=)(.*true)(.*IEPL%20(01|02))@$1false$3+(udp-relay=)(.*false)(.*(🇰🇷|🇬🇧).*BGP)@$1true$3

说明:
- 中间的'+'号用来连接两个需求
- 第一个为 (udp-relay=)(.*true)(.*IEPL%20(01|02))@$1false$3
- 其中$1$3分别代表第1跟第3括号里的内容,第一个括号内容匹配udp-relay参数,第3个括号匹配到节点名部分
- 而 false 将会替代第2括号内的 true(即关闭udp)
- 后者🇰🇷🇬🇧同理

(Ps. 严格来说,上面参数里的 - 跟 = 都应该加转义符\)

BY QuantumultX 教程&API&解析器 通知频道




Share with your friend now:
tgoop.com/QuanX_API/43

View MORE
Open in Telegram


Telegram News

Date: |

Joined by Telegram's representative in Brazil, Alan Campos, Perekopsky noted the platform was unable to cater to some of the TSE requests due to the company's operational setup. But Perekopsky added that these requests could be studied for future implementation. How to create a business channel on Telegram? (Tutorial) Public channels are public to the internet, regardless of whether or not they are subscribed. A public channel is displayed in search results and has a short address (link). When choosing the right name for your Telegram channel, use the language of your target audience. The name must sum up the essence of your channel in 1-3 words. If you’re planning to expand your Telegram audience, it makes sense to incorporate keywords into your name. Unlimited number of subscribers per channel
from us


Telegram QuantumultX 教程&API&解析器 通知频道
FROM American