We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c200c4 commit 5f58d7dCopy full SHA for 5f58d7d
1 file changed
README.md
@@ -48,6 +48,15 @@ print(result7) // false
48
// Check if text does NOT contain "cat" case insensitively and without diacritics
49
let result8 = text.contains(!~"cat")
50
print(result8) // true
51
+
52
+// Check if text contains "quick" OR "jumps" AND "fox" using a regular expression
53
+let result9 = text.contains(=~"(quick|jumps).*fox")
54
+print(result9) // true
55
56
+// Check if text contains "jumps" OR "swift" AND "fox" using a regular expression
57
+let result10 = text.contains(=~"(jumps|swift).*fox")
58
+print(result10) // true
59
60
```
61
62
## How to Install
0 commit comments