Skip to content

xNickyDev/ForgeRegex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ForgeRegex

ForgeRegex

A ForgeScript extension that provides support for advanced regex functions.

forge.regex @tryforge/forgescript Discord


Contents

  1. Why ForgeRegex?
  2. Installation
  3. Documentation

Why ForgeRegex?


ForgeRegex adds advanced regex tools to ForgeScript for efficient pattern matching, text validation, and data extraction. It integrates smoothly, offering flexible string manipulation without extra libraries.


Installation


  1. Run the following command to install the required npm package:

    npm i https://github.com/xNickyDev/ForgeRegex.git
  2. Next, add this import at the top of your client initialization file:

    const { ForgeRegex } = require("forge.regex")
  3. Here’s an example of how your main file should look:

    const { ForgeClient } = require("@tryforge/forgescript")
    const { ForgeRegex } = require("forge.regex")
    
    const client = new ForgeClient({
        ...options, // Your current configuration options   
        extensions: [
            new ForgeRegex()
        ]
    })

About

A ForgeScript extension that provides support for advanced regex functions.

Resources

License

Stars

Watchers

Forks