A tester for Regular Expressions. Made in Visual Studio 2022 using C#, C++, WPF, .NET 8.
It includes the following Regular Expression engines:
- Regex class from .NET 8.
- Regex class from .NET 7.
- Regex class from .NET 6.
- Regex class from .NET Framework 4.8.
- wregex class from Standard Template Library.
- Boost.Regex from Boost C++ Libraries 1.83.0.
- PCRE2 Open Source Regex Library 10.42.
- RE2 C++ Library 2023-03-01 from Google.
- Oniguruma Regular Expression Library 6.9.9.
- SubReg 2024-08-11.
- RegExp JavaScript object from Microsoft Edge WebView2.
- RegExp VBScript object used in Access, Excel, Word.
There are more engines that are described in Additional Engines section:
- Hyperscan
- Chimera
- ICU Regular Expressions
- Rust (Regex and RegexBuilder structs)
- Java (java.util.regex package)
- Python (re and regex modules)
- D (std.regex module)
- Perl
Sample:
The regular expressions are saved and loaded automatically. Press the “➕” button to open more tabs. Use the Options area to select and configure the Regular Expression engine.
The program can be built using Visual Studio 2022 and .NET 8. The sources are written in C# and C++.
The following Visual Studio workloads are required:
- .NET desktop development.
- Desktop development with C++.
The minimal sources of third-party regular expression libraries are included.
- Principal GIT branch: main.
- Solution file: RegExpressWPFNET.sln.
- Startup project: RegExpressWPFNET.
- Configurations: “Debug, Any CPU” or “Release, Any CPU”. The C++ projects use “x64”.
- Operating Systems: Windows 11, Windows 10.
This repository includes several additional engines:
- Hyperscan 5.4.2 from Intel.
- Chimera, a hybrid of Hyperscan 5.4.2 and PCRE 8.41.
- ICU Regular Expressions 73.1
- Rust 1.72.0 (Regex and RegexBuilder structs)
- Java 20.0.2 (java.util.regex package)
- Python 3.11.5 (standard re module, third-party regex module)
- D 2.105 (std.regex module)
- Perl 5.32.1 (Strawberry Perl)
To use these engines, get the main-extended branch instead of main, then recompile the same solution.
The main-extended branch also includes the regular expression engines from the main branch.
The additional engines require certain third-party library files, which were downloaded or compiled separately and included into main-extended branch. (No installations are required).