mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
[PR #699] [MERGED] GUID Pattern support in RegexMatcher #1041
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/wiremock/WireMock.Net/pull/699
Author: @brogdogg
Created: 12/8/2021
Status: ✅ Merged
Merged: 12/11/2021
Merged by: @StefH
Base:
master← Head:feature/685📝 Commits (4)
469e525Add the RegexGuid classf1811f9Use of RegexGuid in the RegexMatcherac9404fFix up the CodeFactor violations93ed8f4Rename RegexGuid --> RegexExtended📊 Changes
3 files changed (+175 additions, -2 deletions)
View changed files
📝
src/WireMock.Net/Matchers/RegexMatcher.cs(+3 -2)➕
src/WireMock.Net/RegularExpressions/RegexExtended.cs(+72 -0)➕
test/WireMock.Net.Tests/RegularExpressions/RegexExtendedTests.cs(+100 -0)📄 Description
Adding a new
RegexGuidclass, extending theSystem.Text.RegularExpressions.Regexclass, to support patterns for identifying a GUID with respect to the way the System.Guid.ToString() formats a new GUID.Additionally, the
RegexMatcherwas updated to use this newRegexGuidclass.Potential use:
This is a suggested change to address feedback to #685
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.