Hi,
Can someone point me to a quick "grep" like function in RUBY? I use glob
all the time, but, I need the power of regular expressions when finding
particular files in directories. I see "grep" in the Pickaxe manual,
but, only as it relates to ".enum," which, sorry to say, I don't
understand.
I need something like this, even though, I know this doesn't work:
Dir.glob(/^f[0-9]{7}\.eps/)
Thanks!
Peter
--
Posted via http://www.ruby-forum.com/.