RA.isMatch / RA.isNotMatch
See original GitHub issueRamda offers ‘match’, but how about we offer an alias of isMatch
and its complement isNotMatch
? That would feel a little more consistent with our other predicates.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Regex.IsMatch Method (System.Text.RegularExpressions)
Indicates whether the specified regular expression finds a match in the specified input string, using the specified matching options and time-out interval.
Read more >Rheumatoid arthritis (RA)
Rheumatoid arthritis is a chronic, systemic inflammatory disorder that primarily affects the joints ... Mismatch between final diagnostic statement and EHR-.
Read more >Standard Boot Firmware for the RA family MCUs Based on ...
When there is a mismatch in the authentication key stored in the device, boot firmware returns 'Trusted system error'. * Flash memory status ......
Read more >Troubleshoot Common L2L and Remote Access IPsec ...
Enable NAT-Traversal (#1 RA VPN Issue). Test Connectivity Properly ... Tunnel Rejected: IKE peer does not match remote peer as defined in L2L...
Read more >IPsec VPN troubleshooting
The SA proposals do not match (SA proposal mismatch). The most common problem with IPsec VPN tunnels is a mismatch between the proposals...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry. I meant using
R.test
, notR.match
, but I can see that calling it 'RA.isMatch` in that case is confusing.I do feel like a negation of
test
would be useful (that is why I first opened the issue) - it feels wrong that we offer so many predicates, but not a flexible one for regexp, and my OCD kicks in when I usetest
alongside a set ofis...
predicates. To me it is a matter of consistency. My code reads better if I haveisMatch
andisNotMatch
.I can see a place for a negation of
R.test
. But to come up with the name would be pretty interesting ;]