mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-25 18:41:01 +01:00
Updated Request Matching (markdown)
@@ -393,7 +393,7 @@ Will match xml below:
|
||||
</todo-list>
|
||||
```
|
||||
|
||||
### Regular Expression Matching
|
||||
### Regular Expression Matching (RegexMatcher)
|
||||
The RegexMatcher can be used to match using a regular expression.
|
||||
|
||||
```csharp
|
||||
@@ -414,7 +414,7 @@ Hello World
|
||||
Hi WM
|
||||
```
|
||||
|
||||
### Similarity Metric Matching
|
||||
### Similarity Metric Matching (SimMetricsMatcher)
|
||||
[SimMetrics.Net](https://github.com/StefH/SimMetrics.Net) is used as a Similarity Metric Library, e.g. from edit distance's (Levenshtein, Gotoh, Jaro etc) to other metrics, (e.g Soundex, Chapman).
|
||||
|
||||
```csharp
|
||||
@@ -437,7 +437,7 @@ Hello
|
||||
```
|
||||
|
||||
|
||||
### WildcardMatching
|
||||
### WildcardMatching (WildcardMatch)
|
||||
WildcardMatching is mostly used for Path and Url matching. This matcher allows a ? for a single character and * for any characters.
|
||||
|
||||
```csharp
|
||||
@@ -449,7 +449,7 @@ server
|
||||
|
||||
```
|
||||
// matching
|
||||
Url like /somebody and /someting
|
||||
Url like /somebody and /something
|
||||
```
|
||||
|
||||
### Reversing the match behaviour with `MatchBehaviour.RejectOnMatch`
|
||||
|
||||
Reference in New Issue
Block a user