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:

WCS Newbie question (1997) syntax question, not in online refernce (1997) absolute paths for databases? (1997) multi-paragraph fields (1997) Remove WebDNA context (2001) Multiple Merchant Accounts? (1997) problems with 2 tags (1997) Shared Webstar Directory (1998) NT - Thanks and Taxes (1997) [format xs] freeze (1997) ReturnRaw and redirect one last question (1997) ssl and invoic.tpl and back bttn (2002) # of real domains on 1 web server (1997) [OT] Form Check java problem (2003) WebCommerce: Folder organization ? (1997) Help with Shipping Costs (1997) No luck with taxes (1997) Deadlock (1999) ShoppingCart Woes (1998) fieldType=num (1997)