What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

WebDNA Grep help wanted

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 56178
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... ----- code ---- [!] -- REPLACE [b] WITH (ignore case) text [/!] [text]the_text=[grep search=\[[bB]\]([^[unurl]%5B[/unurl]]*)\[/[bB]\]&replace=\1][text]the_text[/text][/grep][/text] [!] -- REPLACE [b] WITH (ignore case) text [/!] [text]the_text=[grep search=\[[iI]\]([^[unurl]%5B[/unurl]]*)\[/[iI]\]&replace=\1][text]the_text[/text][/grep][/text] ----- code ---- There are lots of other Greps parsing syntax but I only include the above for this example. Palle ------------------------------------------------------------- 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:

    
  1. Re: WebDNA Grep help wanted ( Kenneth Grome 2004)
  2. Re: WebDNA Grep help wanted ( Gary Krockover 2004)
  3. Re: WebDNA Grep help wanted ( Kenneth Grome 2004)
  4. Re: WebDNA Grep help wanted ( William DeVaul 2004)
  5. Re: WebDNA Grep help wanted ( Kenneth Grome 2004)
  6. Re: WebDNA Grep help wanted ( Gary Krockover 2004)
  7. Re: WebDNA Grep help wanted ( devaulw@onebox.com 2004)
  8. Re: WebDNA Grep help wanted ( devaulw@onebox.com 2004)
  9. Re: WebDNA Grep help wanted ( "Andrew Simpson" 2004)
  10. Re: WebDNA Grep help wanted ( Palle Bo Nielsen 2004)
  11. Re: WebDNA Grep help wanted ( "Andrew Simpson" 2004)
  12. WebDNA Grep help wanted ( Palle Bo Nielsen 2004)
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... ----- code ---- [!] -- REPLACE [b] WITH (ignore case) text [/!] [text]the_text=[grep search=\[[bB]\]([^[unurl]%5B[/unurl]]*)\[/[bB]\]&replace=\1][text]the_text[/text][/grep][/text] [!] -- REPLACE [b] WITH (ignore case) text [/!] [text]the_text=[grep search=\[[iI]\]([^[unurl]%5B[/unurl]]*)\[/[iI]\]&replace=\1][text]the_text[/text][/grep][/text] ----- code ---- There are lots of other Greps parsing syntax but I only include the above for this example. Palle ------------------------------------------------------------- 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/ Palle Bo Nielsen

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:

carriage returns in data (1997) WebCatalog NT beta 18 problem (1997) is sku a REQUIRED field on NT (1997) Username for Admin Group (1997) ShipCost Problems (1998) Re2: frames & carts (1997) & in Lookups (1997) wc 2 pro users - sites, quotes wanted (1997) File Uploads... (1997) multi-paragraph fields (1997) 2.0 Beta (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) select multiple 2 more cents (1997) PDF on the fly - how to? (2005) remotely creating and populating a stock inventory db -almost there! (1999) Can WebDNA do this? (2000) EIMS Problems (1997) Images in WebCat (2000) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) Hard Questions ? (1997)