The regexes we may port in https://github.com/dotnet/corefx/issues/27618 will exercise our parser but not our runner.
Experiment with using REX (https://www.microsoft.com/en-us/research/project/rex-regular-expression-exploration/) to generate interesting strings for each of those interesting patterns. Then preserve some of those strings in the tests - so we have a large body of new positive tests for regex matching.
We could also generate negative tests, for example by making small changes to the positive matching strings until they did not match, and preserving those also. Those should continue to not-match.
@CyrusNajmabadi @ViktorHofer @maryamariyan
The regexes we may port in https://github.com/dotnet/corefx/issues/27618 will exercise our parser but not our runner.
Experiment with using REX (https://www.microsoft.com/en-us/research/project/rex-regular-expression-exploration/) to generate interesting strings for each of those interesting patterns. Then preserve some of those strings in the tests - so we have a large body of new positive tests for regex matching.
We could also generate negative tests, for example by making small changes to the positive matching strings until they did not match, and preserving those also. Those should continue to not-match.
@CyrusNajmabadi @ViktorHofer @maryamariyan