質問編集履歴

1

コードが間違ってる

2019/12/09 02:30

投稿

austr
austr

スコア36

test CHANGED
File without changes
test CHANGED
@@ -20,7 +20,7 @@
20
20
 
21
21
  Validators.required,
22
22
 
23
- Validators.pattern(enRegExp)
23
+ Validators.pattern(/[a-zA-Z0-9!"#$%&'()^@[];:,./=~|`{+*}<>?_\s]/)
24
24
 
25
25
  ])
26
26