Home »
Public Forums »
archive »
file_search: need work around for filenames with square brackets [ ]
file_search: need work around for filenames with square brackets [ ] [message #66807] |
Sat, 06 June 2009 06:54 |
Randolf Klein
Messages: 6 Registered: August 2006
|
Junior Member |
|
|
Hi,
the routines for reading FITS-files in the IDL astro library use
file_search() internally. Now I want to read a file name with square
brackets (as this "[" and " this" ]" ) in it, but file_search seems to
interpret the square brackets as regular expression. Is there a way to
escape the brackets?
Other suggestions?
I don't really want to change the library routines not rename the
files I have to read.
Any ideas?
Thank you very much,
RK
|
|
|
Current Time: Wed Oct 08 14:22:04 PDT 2025
Total time taken to generate the page: 0.00604 seconds