阅读背景:

如何在django / python中使用正则表达式匹配“单词”

来源:互联网 

I'm using Django/Python and I want to be able to prevent the user from using these words: "login" and "logout" as their username. My current solution is to use a regular expression to check if their input contains the forbidden words (login, logout). If it matters, I'm using a custom I'm using Django/Python and I want to be able t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: