joomla中的此正则表达式是什么意思? [英] What does this regular expression in joomla mean?

查看:53
本文介绍了joomla中的此正则表达式是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的网站上安装joomla.在安装joomla时,系统要求我创建一个MYSQl用户.但是我不能,因为每次我输入密码时,都会显示一条消息,说明密码不符合要求的表达要求.下面给出的是正则表达式

I was trying to install joomla on my website. While installing joomla, I was asked to create a MYSQl user. But I couldn't because, everytime I type as password, it gives a message saying the paswword doesn't meet the reqular expression requirement. Given below is the regular expression

'(?=^.{8,}$)((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$' 

这是什么意思?我可以输入什么密码?举例说明将通过此正则表达式测试的密码.请帮助我

What does this mean? What password can I give? Give an example of a password that will pass this regular expression test. Please help me

推荐答案

(?= ^.{8,} $)

(?=^.{8,}$)

这部分意味着还有8个字符,并且匹配从输入的开头开始.

This part means has 8 more more characters, and the match starts at the start of input.

(((?=.* \ d)

((?=.*\d)

均值包含一个数字.

|(?=.* \ W +))

|(?=.*\W+))

或者包含的东西既不是字母也不是数字

Or contains something that is neither a letter or a digit

(?![.\ n])

(?![.\n])

不是以点或UNIX换行符开头.

not starting with a dot or UNIX newline.

(?=.* [A-Z])

(?=.*[A-Z])

至少包含一个大写字母.

Contains at least one capital letter.

(?=.* [a-z])

(?=.*[a-z])

包含至少一个小写字母

.* $

.*$

完全由非换行符组成,匹配的组将包含整个字符串.

Consists entirely of non-newline characters and the matched group will contain the entire string.

这篇关于joomla中的此正则表达式是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆