Re: [WebDNA] Grep out square brackets?

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105110
interpreted = N
texte =
bring [raw] into play?


On Wed, 31 Mar 2010 08:58:27 -0700
"Dan Strong" <webdna@danstrong.com= > wrote:
> Grep again... I want to remove the square brackets from
>my input. I've looked at our docs= and also hunted and
>pecked around in the google, but no luck... none of these
>work:
>
> I= want to return "some-command" (no quotes).
>
> [grep search=3D]&replace=3D][some_command][= /grep]
> [grep search=3D[&replace=3D][some_command][/grep]
&= gt; [grep search=3D*]&replace=3D][some_command][/grep]
> [grep sear= ch=3D*[&replace=3D][some_command][/grep]
> [grep search=3D*]*&replace=3D][some_command][/grep]
> [grep sea= rch=3D*[*&replace=3D][some_command][/grep]
> [grep search=3D*][*&replace=3D][some_command][/grep]
> [grep se= arch=3D[url][[/url]&replace=3D][some_command][/grep]
> [grep search=3D[url]][/url]&replace=3D][some_command][/grep]
> = [grep
>search=3D[url][[/url]&replace=3D][url][some_command][/u= rl][/grep]
> [grep
>search=3D[url]][/url]&replace=3D][url][some_command][/u= rl][/grep]
>
>
> ...or is this a better job for a convertchars.db?
>
> Thanks,
> -Dan=

=A0
Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Grep out square brackets? ("Dan Strong" 2010)
  2. Re: [WebDNA] Grep out square brackets? (Tom Duke 2010)
  3. Re: [WebDNA] Grep out square brackets? (Govinda 2010)
  4. Re: [WebDNA] Grep out square brackets? (Tom Duke 2010)
  5. Re: [WebDNA] Grep out square brackets? ("Dan Strong" 2010)
  6. Re: [WebDNA] Grep out square brackets? ("Terry Wilson" 2010)
  7. [WebDNA] Grep out square brackets? ("Dan Strong" 2010)
bring [raw] into play?


On Wed, 31 Mar 2010 08:58:27 -0700
"Dan Strong" <webdna@danstrong.com= > wrote:
> Grep again... I want to remove the square brackets from
>my input. I've looked at our docs= and also hunted and
>pecked around in the google, but no luck... none of these
>work:
>
> I= want to return "some-command" (no quotes).
>
> [grep search=3D]&replace=3D][some_command][= /grep]
> [grep search=3D[&replace=3D][some_command][/grep]
&= gt; [grep search=3D*]&replace=3D][some_command][/grep]
> [grep sear= ch=3D*[&replace=3D][some_command][/grep]
> [grep search=3D*]*&replace=3D][some_command][/grep]
> [grep sea= rch=3D*[*&replace=3D][some_command][/grep]
> [grep search=3D*][*&replace=3D][some_command][/grep]
> [grep se= arch=3D[url][[/url]&replace=3D][some_command][/grep]
> [grep search=3D[url]][/url]&replace=3D][some_command][/grep]
> = [grep
>search=3D[url][[/url]&replace=3D][url][some_command][/u= rl][/grep]
> [grep
>search=3D[url]][/url]&replace=3D][url][some_command][/u= rl][/grep]
>
>
> ...or is this a better job for a convertchars.db?
>
> Thanks,
> -Dan=

=A0
"Terry Wilson"

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:

Another question (1997) HomePage Caution (1997) NT version and O'reily's WebSite (1997) [LOOKUP] (1997) creator code (1997) Help formatting search results w/ table (1997) Sample Tearoom Search Error (1998) Email Newsletters [OT] (2003) PSC recommends what date format yr 2000??? (1997) [WebDNA] Successful, working WebDNA7/CentOS install? (2013) WebCat editing, SiteGuard & SiteEdit (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Why does setheader provide a db= parameter? (2005) random in arizona (2003) SendTo more emails (1998) oops private message leaked into talk list (1997) [OT] Mac OSX and SSH Telnet (2000) [REFERRER] AND Truncation (1998) Need correct syntax for writing to header2 (1999) Bulk Email >>>>Any ideas? (2001)