設定 Dns 代理

  • 在 Rules 頁籤加入以下設定,設定 Domain 對應 Ip 位置
    1
    example.com 192.168.0.1
Read more »

使用 Node 安裝 Whistle

1
npm i -g whistle
Read more »

使用 Regex 群組

群組方法用法如下

1
2
3
4
5
6
7
8
// 建立規則
var myRegexp = /(?<群組名稱>.*)Test/g;

// 執行規則
var match = myRegexp.exec('123Test');

// 取得執行結果 output: 123
console.log(match.groups.群組名稱);
Read more »
0%