Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
quiz1 /
node_modules /
regjsgen /
[ HOME SHELL ]
Name
Size
Permission
Action
LICENSE-MIT.txt
1.07
KB
-rw-rw-rw-
README.md
1.07
KB
-rw-rw-rw-
package.json
965
B
-rw-rw-rw-
regjsgen.js
11.55
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : README.md
# regjsgen [![Build status][ci-img]][ci] [![Code coverage status][codecov-img]][codecov] Generate regular expressions from [regjsparser][regjsparser]’s AST. ## Installation ```sh npm i regjsgen ``` ## API ### `regjsgen.generate(ast)` This function accepts an abstract syntax tree representing a regular expression (see [regjsparser][regjsparser]), and returns the generated regular expression string. ```js const regjsparser = require('regjsparser'); const regjsgen = require('regjsgen'); // Generate an AST with `regjsparser`. let ast = regjsparser.parse(regex); // Modify AST // … // Generate `RegExp` string with `regjsgen`. let regex = regjsgen.generate(ast); ``` ## Support Tested on Node.js 16 and 18.<br> Compatible with regjsparser v0.10.0’s AST. [ci]: https://github.com/bnjmnt4n/regjsgen/actions [ci-img]: https://github.com/bnjmnt4n/regjsgen/workflows/Node.js%20CI/badge.svg [codecov]: https://codecov.io/gh/bnjmnt4n/regjsgen [codecov-img]: https://codecov.io/gh/bnjmnt4n/regjsgen/branch/main/graph/badge.svg [regjsparser]: https://github.com/jviereck/regjsparser
Close