bring [raw] into=20play?
On Wed, 31 Mar 2010 08:58:27 -0700
"Dan Strong" =<
webdna@danstrong.com> =wrote:
>=20Grep again... I want to remove the square brackets from
>my =input. I've=20looked at our docs and also hunted and
>pecked around in the =google, but=20no luck... none of these
>work:
>
> I want to return ="some-command" (no quotes).
>
> [grep=20search=3D]&replace=3D][some_command][/grep]
> [grep=20search=3D[&replace=3D][some_command][/grep]
> [grep=20search=3D*]&replace=3D][some_command][/grep]
> [grep=20search=3D*[&replace=3D][some_command][/grep]
> [grep=20search=3D*]*&replace=3D][some_command][/grep]
> [grep=20search=3D*[*&replace=3D][some_command][/grep]
> [grep=20search=3D*][*&replace=3D][some_command][/grep]
> [grep=20search=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][/url][/g=rep]
>=20[grep=20
>search=3D[url]][/url]&replace=3D][url][some_command][/url][/g=rep]
>=20
>
> ...or is this a better job for a =convertchars.db?
>=20
> Thanks,
> -Dan
------=_NextPart_000_0039_01CAD0B1.BEA8C200--
Associated Messages, from the most recent to the oldest: wrote:> Grep again... I want to remove the square brackets from=20>my input. I've looked at our docs and also hunted and=20>pecked around in the google, but no luck... none of these=20>work:>=20> I want to return "some-command" (no quotes).>=20> [grep search=3D]&replace=3D][some_command][/grep]> [grep search=3D[&replace=3D][some_command][/grep]> [grep search=3D*]&replace=3D][some_command][/grep]> [grep search=3D*[&replace=3D][some_command][/grep]> [grep search=3D*]*&replace=3D][some_command][/grep]> [grep search=3D*[*&replace=3D][some_command][/grep]> [grep search=3D*][*&replace=3D][some_command][/grep]> [grep search=3D[url][[/url]&replace=3D][some_command][/grep]> [grep search=3D[url]][/url]&replace=3D][some_command][/grep]> [grep=20>search=3D[url][[/url]&replace=3D][url][some_command][/url][/grep]> [grep=20>search=3D[url]][/url]&replace=3D][url][some_command][/url][/grep]>=20>=20> ...or is this a better job for a convertchars.db?>=20> Thanks,> -Dan ------=_NextPart_000_0039_01CAD0B1.BEA8C200Content-Type: text/html;charset="iso-8859-1"Content-Transfer-Encoding: quoted-printableMaybe, but then I have to grep that out =too... I'm=20thinking convertchars.db will save me pain
-Dan
Sent: Wednesday, March 31, 2010 8:48 AM
Subject: Re: [WebDNA] Grep out square =brackets?
bring
[raw] into=20play?
On Wed, 31 Mar 2010 08:58:27 -0700
"Dan Strong" =<
webdna@danstrong.com> =wrote:
>=20Grep again... I want to remove the square brackets from
>my =input. I've=20looked at our docs and also hunted and
>pecked around in the =google, but=20no luck... none of these
>work:
>
> I want to return ="some-command" (no quotes).
>
> [grep=20search=3D]&replace=3D][some_command][/grep]
> [grep=20search=3D[&replace=3D][some_command][/grep]
> [grep=20search=3D*]&replace=3D][some_command][/grep]
> [grep=20search=3D*[&replace=3D][some_command][/grep]
> [grep=20search=3D*]*&replace=3D][some_command][/grep]
> [grep=20search=3D*[*&replace=3D][some_command][/grep]
> [grep=20search=3D*][*&replace=3D][some_command][/grep]
> [grep=20search=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][/url][/g=rep]
>=20[grep=20
>search=3D
[url]][/url]&replace=3D]
[url][some_command][/url][/g=rep]
>=20
>
> ...or is this a better job for a =convertchars.db?
>=20
> Thanks,
> -Dan
------=_NextPart_000_0039_01CAD0B1.BEA8C200--
"Dan Strong"
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:
[OT] Theiving B*****ds (2004)
Problems deleting when a search field is blank... (1998)
Standalone Testing (1998)
RE: [WebDNA] ubuntu can't append db (2019)
Protect and Serve (1999)
5.0 Pricing (2003)
Quit revisited (1997)
Country & Ship-to address & other fields ? (1997)
How do you hide [math]stuff[/math] (1997)
shell problems again... (2003)
Emailer again (1997)
WC2/Mac -- Forms not submitting correctly with Mac browsers (1997)
'does not contain' operator needed ... (1997)
[ConvertChars] problem (1997)
Some Questions (1997)
Trouble with Showif and Search (1998)
Fwd: [WebDNA] writefile / RETS (2009)
Candle Light Vigil (2001)
Internet Explorer and caching (2000)
NT Version on IIS 4.0 (1997)