Google Spreadsheet API setDataValidation with Regex
问题 Im trying to generate an Google Spreadsheet Template with some Validation with their API, using the Node.Js Package from Google. This is my current Request: { "setDataValidation": { "range": { "sheetId": 1656514345, "startRowIndex": 0, "endRowIndex": 0, "startColumnIndex": 1, "endColumnIndex": 1000 }, "rule": { "condition": { "type": "CUSTOM_FORMULA", "values": [ { "userEnteredValue": "=REGEXMATCH(TO_TEXT(A2:A1000); '([1-9]){4}[-]([1-9]){2}[-]([1-9]){2}$')" } ] }, "inputMessage": "TEST