Skip to content

Commit b3d1aa5

Browse files
authored
Apply #2086 to JP version
1 parent a52e790 commit b3d1aa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_basic/ja_acknowledging_requests.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ order: 7
1313

1414
```javascript
1515
// Regex でメールアドレスが有効かチェック
16-
let isEmail = /^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/
16+
let isEmail = /^[\w\-\.]+@([\w\-]+\.)+[\w\-]+$/;
1717
// 制約付きのオブジェクト を使用して ticket_submit という callback_id を持つモーダル送信をリッスン
1818
app.view('ticket_submit', async ({ ack, view }) => {
1919
// block_id が `email_address` の input ブロックからメールアドレスを取得

0 commit comments

Comments
 (0)