Hi! I’ve been trying to make it works with RegExp on Realm but have not solved it yet.
It seems like the the slashes when convert a RegExp object to string is the problem.
e.g
This won’t work
let pattern = new RegExp("abc").toString()
console.log(pattern);
"/abc/"