EmergeTools / SnapshotPreviews-iOS

Automatic snapshots from Xcode previews
MIT License
204 stars 7 forks source link

Add regex support for snapshotPreviews() method #71

Closed NicoHinderling closed 9 months ago

NicoHinderling commented 9 months ago

I didn't change the logic to only support regex bcuz then the old format of using exact string copies would no longer work. This is primarily because we use symbols like "." in those names that are interpreted differently in a regex context.

Thus I added the method handleSnapshotPreviewsAsRegex() so that you can turn the regex functionality on if desired