em có đọc trên trang chủ nhưng vẫn không hiểu cách thức hoạt động của nó
import re
name_check = re.compile(r"[^A-Za-zs.]")
name = raw_input ("Please, enter your name: ")
while name_check.search(name):
print "Please enter your name correctly!"
name = raw_input ("Please, enter your name: ")
The second example checks if the input from the user contains only numbers,
parentheses, spaces or hyphen (no letters)
Any other character is not allowed
ai thông não dùm em với 
83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?