4 ms·
Closest thing would probably be JS, which has regex literals (and you can just call methods on them, or pass them in places). Example: /.*a.*/.test("this is a
by Kamq 4y ago
Closest thing would probably be JS, which has regex literals (and you can just call methods on them, or pass them in places).
Example: /.*a.*/.test("this is a string") // returns true