What are the wildcard characters that are allowed for Cloudant regex queries in selectors? For e.g, If want to to retrieve all records that contain a key "name" whose value begins with "S". Can we write it this way:
"selector":{
"name":{
"$regex":"S*"
}
}
Also, if I want to retrieve records having "a" as the second character in name, then can we write,
"selector":{
"name":{
"$regex":".a"
}
}