Hi there. I’ve read the docs on the usage Growthb...
# give-feedback
s
Hi there. I’ve read the docs on the usage Growthbook PHP library and it states that the library uses mongoDb-like syntax for matching experiment conditions. However, it’s not exactly clear for me what condition I use for matching a regular expression. The documentation on MongoDb states that the $eq operator implicitly evaluates a regular expression if one is found in the value fields. But will it work the same in Growthbook or should I explicitly specify the $regex operator?
f
We only support a subset of MongoDB syntax. So you need to use the $regex operator
s
Thanks!