Re: [WebDNA] can webdna's [grep] find and replace ONLY the literal "+" char?

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 109017
interpreted = N
texte = > [grep search=3D[[url]+[/url]]&replace=3Dsomething] Wow, cool! You cracked one that I figured was never going to be = cracked) :-) > The URL's seem to work in many literal cases for some reason... = spaces, returns, etc.. here ^^^ you are referring to using [url] wrappers around Webdna = tag/context params? I have been under the impression that SmithMicro = (or even PCS before them) years ago decided that [url] was their = official chosen method of escaping any and all tag/context params, and I = have been using it that way for years in many different situations. = Anyway, indeed, as you say, it works. IOW, I am not surprised.. and I = even had tried using [url]. But what I did not think of, and am = surprised by, is that it works used *inside* a grep character class. I = mean, an [url] wrapper like this makes sense in the context of my/our = understanding described in this paragraph: [grep search=3D[url][+][/url]&replace=3Dsomething] ...but does not work. But AFAICT this: [grep search=3D[[url]+[/url]]&replace=3Dsomething] ...*should* be finding/matching any character that is just/only one of = these three chars: %2B If Webdna had any development cycles, I would ask those techs, should we = rely on "[grep search=3D[[url]+[/url]]..." behaving as it does today? = I'd rather it was fixed, if I was still attached.=20 But something predictable (for now) is better than nothing.. thanks = :-) -Govinda= Associated Messages, from the most recent to the oldest:

    
> [grep search=3D[[url]+[/url]]&replace=3Dsomething] Wow, cool! You cracked one that I figured was never going to be = cracked) :-) > The URL's seem to work in many literal cases for some reason... = spaces, returns, etc.. here ^^^ you are referring to using [url] wrappers around Webdna = tag/context params? I have been under the impression that SmithMicro = (or even PCS before them) years ago decided that [url] was their = official chosen method of escaping any and all tag/context params, and I = have been using it that way for years in many different situations. = Anyway, indeed, as you say, it works. IOW, I am not surprised.. and I = even had tried using [url]. But what I did not think of, and am = surprised by, is that it works used *inside* a grep character class. I = mean, an [url] wrapper like this makes sense in the context of my/our = understanding described in this paragraph: [grep search=3D[url][+][/url]&replace=3Dsomething] ...but does not work. But AFAICT this: [grep search=3D[[url]+[/url]]&replace=3Dsomething] ...*should* be finding/matching any character that is just/only one of = these three chars: %2B If Webdna had any development cycles, I would ask those techs, should we = rely on "[grep search=3D[[url]+[/url]]..." behaving as it does today? = I'd rather it was fixed, if I was still attached.=20 But something predictable (for now) is better than nothing.. thanks = :-) -Govinda= Govinda

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:

Sorting by date (1997) [TaxableTotal] - not working with AOL and IE (1997) Dynamic Generation of PDFs? (2003) Re:Searching for ALL / empty form field (1997) Searching Multiple DBs (1997) RAM variables (1997) RE: OK, here goes... (1997) [OT] Ratings comparison? (2003) Webcatalog acgi conflict? (1999) Sorting (1998) Wireless WebDNA available today! (2000) 2nd WebCatalog2 Feature Request (1996) email program problem (1998) Today's suggestions (1998) Updating a database once per day - An example (1998) WebCat2 - [format thousands] (1997) More on the email templates (1997) Search all Fields in a db (1997) TeaRoom Order fields email account remain empty even though thewy are filled. (1997) WebDNA and ASP on Same Server (2004)