Como posso usar uma variável regex em uma consulta para o MongoDB
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
Blushing Beetle
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
var stream = collection.find({"FirstName": new RegExp(val)}).stream();