CSharpVerbalExpressions icon indicating copy to clipboard operation
CSharpVerbalExpressions copied to clipboard

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

Open mbadler opened this issue 11 years ago • 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

mbadler avatar Aug 14 '13 04:08 mbadler