You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'd like to filter by a field containing a file path with slashes, like path/to/my/file_<id>.tld, with the <id> part as a wildcard.
I've tried aqp({ file: '/^path/to/my/file_.+\\.tld/' }) but it splits the string in an array :
{
file: { '$in': [ /^path/, /my/ ] }
}
Is there a way to pass slashes in a regex ? I've also tride to urlencode the string or escape the slashes with \ but it doesn't work either.
The text was updated successfully, but these errors were encountered:
Hi,
I'd like to filter by a field containing a file path with slashes, like
path/to/my/file_<id>.tld
, with the<id>
part as a wildcard.I've tried
aqp({ file: '/^path/to/my/file_.+\\.tld/' })
but it splits the string in an array :Is there a way to pass slashes in a regex ? I've also tride to urlencode the string or escape the slashes with \ but it doesn't work either.
The text was updated successfully, but these errors were encountered: