Dear list,
would anyone perhaps know a way to select nii files using spm_select
irrespective of the case (upper or lower) of the files, on a linux box?
For example:
spm_select('List','/home/me/mydata','^myfilename.*\.nii')
does select myfilename-001.nii , myfilename-002.nii. etc. What I need is
a way to also select MYFILENAME-003.nii, eg irrespective of case. Is
there a way in the 'filt' argument to accomplish that?
Thanks once more,
Bas
--
-------------------------------------------------
Dr. S.F.W. Neggers
Division of Brain Research
Rudolf Magnus Institute for Neuroscience
Utrecht University Medical Center
Visiting : Heidelberglaan 100, 3584 CX Utrecht
Room B.01.1.03
Mail : Huispost A.01.126, P.O. Box 85500
3508 GA Utrecht, the Netherlands
Tel : +31 (0)30 2509609 Fax : +31 (0)30 2505443
E-mail : [log in to unmask]
Web : http://www.fmri.nl/people/bas.html
--------------------------------------------------
|