CodeExamplePath should take regexes for start-1 and stop+1
|Reported by:||simon@…||Owned by:||nuald|
For CodeExamplePath it'd be nice to be able to specify start-1 and stop+1 lines with regexes. The point being that you could delineate parts of actual running code (typically unit tests) with comments (e.g. EXAMPLE 1 START and EXAMPLE 1 STOP) and have the Macro include everything BETWEEN those two lines.
Specifying the start line as regex and the number of lines is a bit brittle. It requires that the start line of the example is uniquely matchable (i.e. a method name) and that you change the macro invocation if you change the code example in the source.