can I use input search in django form as as variable for a regular expression? not working now

前端 未结 0 1561
粉色の甜心
粉色の甜心 2021-01-16 09:51

def get_search(request,search, list):

str1 = " " 
entries = str1.join(list)

pattern = re.compile(r\'{}.*.format(search)\', re.IGNORECASE)
matches =         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题