Skip to content

matwilko/NetRegexCompiler

Repository files navigation

NetRegexCompiler

A tool to effectively run the RegexOptions.Compiled compilation at build time, rather than at runtime, and directly embed the generated code in your assembly.

The code for Regex compilation was taken directly from corefx at dotnet/corefx/src/System.Text.RegularExpressions@17382de and then modified to suit the purpose of this project.

In essence, the lightweight-codegen done to generate IL directly at runtime is modified to generate broadly equivalent C# code, which is generated from the regex during the build, and included in the project directly as generated C# code.

About

Tooling to compile .NET Regexes at build time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy