[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Regular expressions



Does there exist a routine for regular expression matching in IDL?

I'm thinking of something along the lines of an extended STR_SEP that could 
(say) separate a string into components separated by 0 or 1 commas and an 
arbitrary number of spaces.

I could do it by spawning a perl script but that's not too pretty and I 
can't see an _easy_ way to do it natively.

James

-- 
+------------------------+-------------------------------+---------+
| James Tappin           | School of Physics & Astronomy |  O__    |
| sjt@star.sr.bham.ac.uk | University of Birmingham      | --  \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722                  |         |
+--------------------------------------------------------+---------+