err, my current code looks something like this (noting that it does not in
fact work)

regExpr1 = /\d+'/'\s+'/'\d+/
@day, @month, @year = date.scan(regExpr1)

-Luke


"Luke Crook" <lcluke / wsbnet.com> wrote in message
news:9f12ej$1a5 / dispatch.concentric.net...
> I am trying to parse an Apache log file. The date field looks like:
>     [22/May/2001:23:54:41 -0700]
>
> How would I use the .scan() method when '/' is the delimiter (I'm trying
to
> store day, month, year as seperate fields).
> I have tried \/, "/" , '/', and even [/] but these do not work.
>
> -Luke Crook
>
>