This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- USAGE: | |
| -- string.replace("mystring", "my", "our") | |
| -- or | |
| -- local teststr = "weird[]str%ing" | |
| -- teststr2 = teststr:replace("weird[]", "cool(%1)") | |
| -- Warning: add your own \0 char handling if you need it! | |
| do | |
| local function regexEscape(str) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| ''' | |
| 功能: | |
| 从zonefile文件导入域名到Dnspod | |
| requirements: | |
| dnspython==1.10.0 | |
| requests==1.0.4 | |
| ''' |