Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

WildPHP/module-regexreplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RegexReplace Module

Build Status Scrutinizer Code Quality Latest Stable Version Latest Unstable Version Total Downloads

Use sed-style (s/find/replace/) regular expressions to correct previous messages.

System Requirements

If your setup can run the main bot, it can run this module as well.

Installation

To install this module, we will use composer:

composer require wildphp/module-regexreplace

That will install all required files for the module. In order to activate the module, add the following line to your modules array in config.neon:

- WildPHP\Modules\RegexReplace\RegexReplace

The bot will run the module the next time it is started.

Usage

The RegexReplace module automatically catches instances of the sed replace pattern (s/find/replace/) with optional g (global, all occurrences) or i (case insensitive) flags

License

This module is licensed under the MIT license. Please see LICENSE to read it.

About

Sed-style regex replace module for WildPHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages