ColdFusion 9 Wishlist - Regex filter for CFDirectory and CFZip

May 07, 2008

Ben Nadel has a very interesting post about pipe delimiters in the cfdirectory tag (http://www.bennadel.com/index.cfm?dax=blog:1221.view). So apparently, you can have more than one filter in cfdirectory (as oppose to what the docs say). It does seem very regex like since the pipe is an OR statement when using regular expressions. I tried dumping regex statements in the cfdirectory filter with no luck. So it's just a delimiter. CFZip, as Ben noted, has a comma delimited list.

So this would be a nice feature for CF 9. Simply have a regular expression filter for these tags.

Comments

Write your comment



(it will not be displayed)