JsonRuleEngine.Net
JsonRuleEngine.Net copied to clipboard
Add regexMatch operator, clean up extra blank lines
Add the operator "regexMatch" which tests a string using a regular expression. Example use: { "field": "id", "operator": "regexMatch", "value": "^(?![0-9A-Za-z]{4}$).+" } This checks if the id is exactly 4 characters long, consisting only of characters 0..9, A..Z, a..z. If the string does not match this pattern, the operator evaluates to true.
Also removed many extra blank lines (i.e. one out of 2 consecutive blank lines).
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 12.50000% with 14 lines in your changes missing coverage. Please review.
Project coverage is 69.48%. Comparing base (
05252cd) to head (d2baee9).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| JsonRuleEngine.Net/Engine/JsonRuleEngine.cs | 12.50% | 14 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@ Coverage Diff @@
## master #7 +/- ##
==========================================
- Coverage 70.48% 69.48% -1.01%
==========================================
Files 10 10
Lines 1064 1078 +14
Branches 163 164 +1
==========================================
- Hits 750 749 -1
- Misses 275 289 +14
- Partials 39 40 +1
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚀 New features to boost your workflow:
- ❄ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.