Mailing List SIMS@mail.stalker.com Message #6444
From: LiangTyan Fui <list@magix.com.my>
Subject: Re: Accounf file format
Date: Sat, 08 Jul 2000 09:26:45 +0800
To: (SIMS Discussions) <SIMS@mail.stalker.com>
Just to make things even more confuse, SIMS 1.8b8 has some smart changes on
the file format:
- First line of the mail file added a CR
- "From " no long been escaped as ">From " if it is not a full email border
(eg: From fui@magix.com.my Sat Jun 24 17:26:24 2000; 000000022159).

So looking up for "From" at beginning of a line as the starting point of an
email is no longer reliable on b8.

Regards,
LiangTyan Fui



On 8/7/00 1:36 AM, Patric Malm wrote:

>> At 17:28 7/7/2000 +0200, you wrote:
>>>> In regex notation the mailbox file looks like this:
>>>>
>>>> (^From .*\r(.+\r)*\r(.*\r)*\r)*
>>>> ^        ^       ^        ^
>
> SNIP
>
>
>> Then something is wrong with your regex implementation.
>>
>> (^From .*\r  -> This should grab a SINGLE line.  In English it says, "look
>> for the string 'From ' at the start of a line and then grab it and any
>> other characters up to a return."
>>
>> After that I start to get a little lost myself.  I believe this part:
>>
>> (.+\r)*\r
>>
>> is grabbing any number of characters until there are two consecutive line
>> feeds and storing them.
>>
>> (.+\r) is one or more characters ending with a return, and the *\r says 0
>> or more instances of the previous expression.
>
>
> Ok, now im even more confused.. =)
>
> Your suggestion should be... ? :-)
> --
>
> - MVH
> - Patric Malm  http://patric.applepaj.se    <- Din tekniker på äpplet      -
> - ApplePaj AB  http://www.applepaj.se       <- Din Mac-specialist NY SIDA! -
> - MacNytt      http://www.macnytt.com       <- Din Mac-community           -
>
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list <SIMS@mail.stalker.com>.
> To unsubscribe, E-mail to: <SIMS-off@mail.stalker.com>
> To switch to the DIGEST mode, E-mail to <SIMS-digest@mail.stalker.com>
> To switch to the INDEX mode, E-mail to <SIMS-index@mail.stalker.com>
> Send administrative queries to  <SIMS-request@mail.stalker.com>
>

Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster