We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e5728c0 + 34d8997 commit a52e790Copy full SHA for a52e790
docs/_basic/acknowledging_requests.md
@@ -13,7 +13,7 @@ We recommend calling `ack()` right away before sending a new message or fetching
13
14
```javascript
15
// Regex to determine if this is a valid email
16
-let isEmail = /^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/
+let isEmail = /^[\w\-\.]+@([\w\-]+\.)+[\w\-]+$/
17
// This uses a constraint object to listen for modal submissions with a callback_id of ticket_submit
18
app.view('ticket_submit', async ({ ack, view }) => {
19
// get the email value from the input block with `email_address` as the block_id
0 commit comments