[REBOL] Re: Extracting a date..
From: gchiu:compkarori at: 13-May-2001 10:17
On 12 May 2001 16:49:12 +0200
"P-O Yliniemi" <[peoyli--algonet--se]> wrote:
> >
>
> returned 'false' without printing the result...
>
It was late at night :-). This is tested and works, but of
course picks up: May 234242 3523523523
rebol []
fdata: {
> ----------------------------------------------------------------------------
> Some other text here
> May 11 2001
> Some other text here
> ----------------------------------------------------------------------------
> }
data: load fdata
rule: [ some [ set month ['Apr | 'May | 'Jun ] set day
integer! set year integer! (print rejoin [ month "/" day "/"
year ] ) | skip ] ]
parse data rule
--
Graham Chiu