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:%2BIf 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.=20But 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:%2BIf 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.=20But 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:
Searching Multiple DBs (1997)
Adding Multiple Items (1999)
[WebDNA] chromebooks and webdna (2017)
ThreadMem ignored? (1998)
Active Server Code... (1998)
password authentication schemes (2003)
PCS Frames (1997)
easy numfound search? (2001)
WebCat2 beta 11 - new prefs ... (1997)
Date Sorting (1997)
Cart Number sequence (1997)
(2000)
Comments in db? (1997)
No. of items in shopping cart (2000)
Sorting problem (2002)
WebCatalog 3.0.4 alias crash bug? (2000)
More Applescript (1997)
'page impression' techniques for banner ads (1999)
exclusive db access (2000)
Show of Hands <-- will it break 100? (2002)