Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcolink/stringmatcher
A simple String Matcher
https://github.com/marcolink/stringmatcher
builder csharp string-matcher unity unity3d
Last synced: 16 days ago
JSON representation
A simple String Matcher
- Host: GitHub
- URL: https://github.com/marcolink/stringmatcher
- Owner: marcolink
- License: apache-2.0
- Created: 2018-02-20T07:29:26.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-23T16:31:52.000Z (almost 7 years ago)
- Last Synced: 2024-11-16T18:36:47.143Z (about 1 month ago)
- Topics: builder, csharp, string-matcher, unity, unity3d
- Language: C#
- Homepage:
- Size: 2.45 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# StringMatcher
A Simple string matcher builder for Unity (works also on normal c# projects).## Usage
### Direct use of *StringMatcherBuilder*
```csharp
var matcher = new StringMatcherBuilder()
.addMatcher(new StringBeginsWithMatcher("Hell"))
.addMatcher(new StringContainsMatcher("World"));Assert.IsTrue(matcher.Match("Hello World"));
Assert.IsFalse(matcher.Match("Hello Planet"));
```