How to build a regex Pattern Matching Engine (PME) where ciphertext is the content that is evaluated

A regex PME is an essential tool for programmers. It allows you to perform complex searches on content, in this tutorial we explain how to build a regex Pattern Matching Engine (PME) where ciphertext is the content that is evaluated.