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

Grep vs WebDNA: square brackets

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44563
interpreted = N
texte = Why does this:[raw]\[url=([^\]]*)\]([^\[]*)\[/url\][/raw]display just fine, and yet this:[grep search=[raw]\[url=([^\]]*)\]([^\[]*)\[/url\][/raw]&replace=\2][sourceText][/grep]gives the error:([^\[]*)\[/url\]Error: Error: expected [/GREP], but found [/raw] instead[/raw]&replace=\2][sourceText]I know, I know, the brackets are fouling up the parser -- but how are we supposed to create meaningful search expressions (which rely extensively on square brackets) that don't bump heads with WebDNA (ditto)?Is there a recommended, consistent method for keeping WebDNA out of [grep]'s way (or vice versa)? Sometimes [url] works, sometimes it crashes the page. Sometimes [raw] works, sometimes it crashes the page. It's a real pain in the ass to have to work these gotchas out on a search by search, element by element basis.By the way, here's the fugly, kludgy search method that *does* work:[grep search=\[url=([^[unurl]%5D[/unurl]]*)\]([^[unurl]%5B[/unurl]]*)\[/url\]&repl ace=\2][sourceText][/grep] Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Grep vs WebDNA: square brackets (Rob Marquardt 2002)
  2. Re: Grep vs WebDNA: square brackets (Alain Russell 2002)
  3. Grep vs WebDNA: square brackets (Rob Marquardt 2002)
Why does this:[raw]\[url=([^\]]*)\]([^\[]*)\[/url\][/raw]display just fine, and yet this:[grep search=[raw]\[url=([^\]]*)\]([^\[]*)\[/url\][/raw]&replace=\2][sourceText][/grep]gives the error:([^\[]*)\[/url\]Error: Error: expected [/GREP], but found [/raw] instead[/raw]&replace=\2][sourceText]I know, I know, the brackets are fouling up the parser -- but how are we supposed to create meaningful search expressions (which rely extensively on square brackets) that don't bump heads with WebDNA (ditto)?Is there a recommended, consistent method for keeping WebDNA out of [grep]'s way (or vice versa)? Sometimes [url] works, sometimes it crashes the page. Sometimes [raw] works, sometimes it crashes the page. It's a real pain in the ass to have to work these gotchas out on a search by search, element by element basis.By the way, here's the fugly, kludgy search method that *does* work:[grep search=\[url=([^[unurl]%5D[/unurl]]*)\]([^[unurl]%5B[/unurl]]*)\[/url\]&repl ace=\2][sourceText][/grep] Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- 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://search.smithmicro.com/ Rob Marquardt

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:

[defined]ish (1997) cart number tracking (1998) ShowNext example for GeneralStore (1997) RE: [WebDNA] LowRam (2012) Template transformed itself into a database? (1998) Dreamweaver UltraDev (2000) Is it possible to pause or wait a process (2000) Need help with emailer- 2 issues (1997) Append command (1999) Problem with version 4 browsers (1998) ampersand hell (2003) WebCat2_Mac RETURNs in .db (1997) RE: Error: template (1997) EMailFolder vs. EMailCompleted folder (2002) Dubble Sku's in a Database (1999) formula.db, adding option prices (1997) Shop from PDF (2004) [OT] (waaaay OT) further off topic than before (2004) WebCatalog NT beta 18 problem (1997) Problems with [Applescript] (1997)