regexp-assemble

Perl module that assemble multiple regexps into a single one

Install

All systems
curl cmd.cat/regexp-assemble.sh
Debian Debian
apt-get install libregexp-assemble-perl
Ubuntu
apt-get install libregexp-assemble-perl
image/svg+xml Kali Linux
apt-get install libregexp-assemble-perl
Windows (WSL2)
sudo apt-get update sudo apt-get install libregexp-assemble-perl
Raspbian
apt-get install libregexp-assemble-perl

libregexp-assemble-perl

Perl module that assemble multiple regexps into a single one

Regexp::Assemble takes an arbitrary number of regular expressions and assembles them into a single regular expression (or RE) that matches all that the individual REs match. It is also possible to track the original patterns, so that you can determine which, among the source patterns that form the assembled pattern, was the one that caused the match to occur.