I'm using RegEx for some file processing. All's well except that the expression is large, with a small portion that needs to change at each call. This means that the expression can no longer be compiled, at least from my understanding of the documentation.
1) is there a workaround to compile a regular expression on the fly AND be able to unload the assembly afterwards?
2) is there any rough figure about the performance advantage between a compiled expression and one that is not?