Re: WebDNA Grep help wanted
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 56200
interpreted = N
texte = >Hi all,>>I have a messageboard developed in WebDNA. The messageboard does not >accept HTML syntax due to security. In stead I have made a parsingt >system which translate forum specific tags to HTML behind the scenes.>>[/b]If I wanted to post a message in the forum with bold words it >would look like this[/b]>>[/i]If I wanted to post a message in the forum with italic words it >would look like this[/i]>>The grep lines handling this process is pasted below, but it can't >handle a line like this. And here I need some help...>>[b] this is a line of bold words including one word in >[i]italic[/i], but it won't work - only the italic-tags are parsed >correctly[/b]>>Any help is appreciated...The simple solution is to use two nested greps, one for bold and the other for the italics.-- Kenneth GromeWebDNA ProgrammerOutsource Service ProviderPhone: +6332 255-6591-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>Hi all,>>I have a messageboard developed in WebDNA. The messageboard does not >accept HTML syntax due to security. In stead I have made a parsingt >system which translate forum specific tags to HTML behind the scenes.>>[/b]If I wanted to post a message in the forum with bold words it >would look like this[/b]>>[/i]If I wanted to post a message in the forum with italic words it >would look like this[/i]>>The grep lines handling this process is pasted below, but it can't >handle a line like this. And here I need some help...>>[b] this is a line of bold words including one word in >[i]italic[/i], but it won't work - only the italic-tags are parsed >correctly[/b]>>Any help is appreciated...The simple solution is to use two nested greps, one for bold and the other for the italics.-- Kenneth GromeWebDNA ProgrammerOutsource Service ProviderPhone: +6332 255-6591-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Kenneth Grome
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebCat B13 Mac CGI -- Frames question (1997)
[OT] My own Hot Mail like e-mail services (2003)
Credit Card Number Stripping Digit (1997)
Re:quit command on NT (1997)
emailer error -108 (1997)
Introduction/Tutorial/QuickStart (1997)
& Aftermath (2000)
Ken's Data Manager (was dbQuickView 2.0) (2005)
using showpage and showcart commands (1996)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
emailer error -108 (1997)
E-mailer error codes (1997)
Is this possible, WebCat2.0 and checkboxes (1997)
I give up!! (1997)
[hideif] (1998)
search form problem.. (1997)
different show next (1997)
Help name our technology! I found it (1997)
(OT) Dual 2GHz G5 (2003)
Incrementing a number (1998)