Saturday 15 June 2013

regex - PHP preg_match found string with no-specified characters -



regex - PHP preg_match found string with no-specified characters -

i have czech dictionary, word per line, need out words contains s,r,t,s,r,t , vowels, prepared regex

if(preg_match("/^[aeiyouaeiyouáéěíýóúůÁÉĚÍÝÓÚŮsrtsrt]*$/", $currentline))

but matches words characters "č,š,ž" too. problem???

php regex

No comments:

Post a Comment