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:

Ok here is a question? (1997) tricky embedded[showifs/hideifs] (w/ code.. long) (2000) using [URL] in search parameters? (1999) What file? (1997) Emailer setup (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) RE: Languages (1997) More on the email templates (1997) [WebDNA] multi-file upload (2016) emailer (1997) Resume Catalog ? (1997) Moment of Thanks (1997) Why does WebCat do this? (2001) this works sometimes and sometimes not (1997) RE: WebCat cannot handle compatible search parameters? (1997) Sorting by date (1997) The beginning (1997) WebCat2b13MacPlugIn - syntax to convert date (1997) notification solutions (1997) WebMerchant 1.6 and SHTML (1997)