On 3/18/06, Kyle Maxwell <kyle@kylemaxwell.com>
wrote:> Dir.glob docs:
> Returns the filenames found by expanding the pattern given in string,
> either as an array or as parameters to the block. Note that this
> pattern is not a regexp (it''s closer to a shell glob)
>
> that means Dir.glob "[0-9]*" is roughly equivalent to the regexp
> %r([0-9][^/]*). A little counterintuitive.
>
> The fix is a simple rollback, with possibly a comment noting the
> situation so it doesn''t happen again.
>
> -Kyle
I rolled it back. Thanks for the heads up.
--
Rick Olson
http://techno-weenie.net