With the Drive API I can find matching filenames by calling Files: list with query q set to name contains 'SO8393'. I get back matching files like this:
{
"files": [
{
"id": "111111",
"name": "-SO8393_8041HE.pdf",
},
{
"id": "222222",
"name": "-SO8393_8041VENDORX.pdf",
}
]
}
However, if I modify my query q to have only digits and no alpha characters, like name contains '8393', then I get back no matching files:
{
"files": []
}
I also tried double quotes, i.e., name contains "8393", but got the same empty list in return. This is very surprising to not match on strings that are just digits.
How do you match filenames when your name contains argument is only digits?
