Applied commit c74d501 from https://github.com/AutoFixture/AutoFixture/pull/78 for handling regular expressions with non-capturing subpatterns.