VerbalExpressions/CSharpVerbalExpressions

Feature Suggestion: .verbex files in project -> Compiled Regex via custom tool

mbadler opened this issue · 0 comments

Some regexes can get very complex and work best as standalone compiled regex dlls.

It would be nice to have something like a .verbex file that you can include in the project the syntax would be identical to the code embeded version. then during compile a custom tool will run that will execute the code in the .verbex file and transform it into one of 2 things
either

  • a .cs file with the rendered regex ,and static methods so the developer can do a .isMatch
  • use Regex.CompileToAssembly to create an assembly useable in that project