[Tutor] Regular Expression guru saught
Kirk Bailey
idiot1@netzero.net
Mon Aug 4 22:22:02 EDT 2003
ok, here's the rub;
I am writing a wiki. A wiki stores the body of a page in a flat text
file. NO HTML. The markup ciode is a simplistic set, Alas, some of them
use the SAME symbol series to turn a feature on, or off- it is a toggle.
SOME functions use the SAME tags to turn a function ON or OFF- it is a
toggle.
For instance:
'''bold''' text - BOLD is printed BOLD, appears in output as
<b>bold</b> text
''italic'' text - italic is printed in italics, as
<i>italic</i> text
Doing this with string.replace is just not cutting the mustard. Any advice?
Karl Pflästerer wrote:
> On 4 Aug 2003, Kirk Bailey <- idiot1@netzero.net wrote:
>
>
>>(x)- discuss on this list
>>( )- discuss off list, private correspondance
>>( )- (other, specify:________________________________) :-)
>
>
>
>
> Karl
--
--
end
Cheers!
Kirk D Bailey
+ think +
http://www.howlermonkey.net +-----+ http://www.tinylist.org
http://www.listville.net | BOX | http://www.sacredelectron.org
Thou art free"-ERIS +-----+ 'Got a light?'-Promethieus
+ think +
Fnord.
More information about the Tutor
mailing list