Today for a project I was trying to make use of regular expression and learnt about groups and how to use them. I am using this site to test it.The problem is that whenever I write the following regex:
(?=\S*\d)
, the site gives me an error : the expression can match 0 characters and therefore can match infinitely.
while this doesn't throw any error :
(?=\S*\d)(\S{6,16})
can anyone explain to me what is the meaning of the error.
Aucun commentaire:
Enregistrer un commentaire