We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c17ead2 commit 34d8997Copy full SHA for 34d8997
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-]{.*}$/
+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