> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Cassani Mario
> Sent: Tuesday, November 27, 2001 3:25 PM
> To: REBOL List (E-mail)
> Cc: Rebmail (E-mail)
> Subject: [REBOL] Parse experiments: help needed

>    Has someone any suggestion to handle this?

Hi, yes I had the same problem while developing make-doc-pro. It took me some
time ;-) but here is the rule of thumb:

The trick is to parse your string the following way, while reducing the valid
character set by your special chars:

chars: complement charset "_*%"

rules: copy text some chars [
"*" <this is your bold rule>
| "_" <this is your underline rule>
| "%" <this is your italic rule>
]

You got the idea?

--
Robert M. M�nch
IT & Management Freelancer
Mobile: +49 (0)177 2452 802
Fax   : +49 (0)721 8408 9112
Web   : http://www.robertmuench.de

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to