It would be nice if someone could give me a regexp pattern for glob for getting below filenames:
1.jpg // this file
1_thumb.jpg
2.png // this file
2_thumb.png
etc...
returning the files without "_thumb". I have this pattern:
$numericalFiles = glob("$this->path/*_thumb.*");
and that give me all with "_thumb."
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…