Re: Grep Question - MAY NEVER BE SOLVED
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 54000
interpreted = N
texte = Stuart,I am not seeing any problems with the ignorecase=T option on w2K. Can yousend me an example of your [grep] code?-----Original Message-----From: Stuart Tremain [mailto:development@idfk.com.au]Sent: Tuesday, November 11, 2003 7:55 PMTo: WebDNA TalkSubject: Re: Grep Question - MAY NEVER BE SOLVEDBTWI can't get IgnoreCase=T to work with WebDNA 5 on w2KOn Wednesday, November 12, 2003, at 02:47 PM, Kalin Mintchev wrote:> On Wed, 12 Nov 2003, Rajeev Kumar wrote:>>> if you want to force grep to be case insensitive. you have to do case>> 2 like>> this:>>>> [Grep search=([Kk][Ii][Mm])&replace=
> color="red">[uppercase]KIM[/uppercase]]kIm is a good dog>> always in>> the theater[/grep]
>>>>>> [Kk] will look for either a "K" or a "k" (or any other letter>> specified> yea, that worked... just doing it....>> inside the []'s).>> Adding a dash in the middle, [K-k], treats it as a range between K to>> k.>> Though im not sure why "hea" was selected.>> because the range from K (ascii 75) to k (ascii 107) contains h (ascii> 104), e (101) and a (97) - i shuld've figured it out sooner.....>> thanks Rajeev...>>>>>>>>> ----- Original Message ----->> From: "Kalin Mintchev"
>> To: "WebDNA Talk" >> Sent: Wednesday, November 12, 2003 2:18 PM>> Subject: Re: Grep Question - MAY NEVER BE SOLVED>>>>>>>>>> ok... after a few experiments i get weird stuff happaning...>>>>>> case 1:>>>>>> [Grep search=kim&replace=>> color="red">[uppercase]KIM[/uppercase]]kim is a good dog>>> always in>>> the theater[/grep]
>>>>>> this one produces: KIM is a good dog always in the theater - whichis>>> correct...>>>>>> csase 2:>>>>>> [Grep search=([K-k][I-i][M-m])&replace=>> color="red">[uppercase]KIM[/uppercase]]kim is a good dog>>> always in>>> the theater[/grep]
>>>>>> produces: KIM is a good dog always in the tKIMter - huuuuu?!>>>>>> i'm trying to use case 2 to force grep to be case insensitive...>>> note that>>> if i use "kIM is a... " in case 2 i get the same result...>>>>>> i'd expect both versions to produce result 1.>>>>>> considering that theater doesn't have ANY of the 3 characters(k,i,m)>>> why this grep is messing up theater => tKIMter - what's with the>>> 'hea'>>> string that has to do with KIM?>>>>>> is that only here or somebody can explain?>>>>>> i'd really appreciate some help on this...>>>>>> this is on RH linux and is webcat 4.5... (don't have 5)....>>>>>>>>> thanks....>>>>>>>>> On Wed, 12 Nov 2003, Kenneth Grome wrote:>>>>>>>> hi all,>>>>>>>>>> i was just wondering if anybody out there sees my posts....>>>>>>>>>> the last 3 - 4 times - including the one below - i'm getting my>>>>> post>> back>>>>> from the list - normally - but nobody responds and from time to>>>>> time>> i'm>>>>> getting those WARNING messages from the smithmicro server that>>>>> messages>> to>>>>> my email have been bounced. i don't have any problems recieaving>>>>> mail>> and>>>>> i get to see everybody else's posts....>>>>>>>>>> i'll appreciate if somebody replys to this post so i know that i'm>>>>> not>>>>> shooting in the dark...>>>>>>>>>>>>>>>> I saw your post but I have no answer for you ... and I'll tell you>>>> why:>>>>>>>> SMSI has never documented their version of grep, nor have they ever>>>> helped us to find the *proper* documentation for the unique version>>>> of grep they licensed for use in webdna. Therefore, we have no way>>>> of knowing what is the proper syntax for using webdna's grep>>>> effectively.>>>>>>>> I can use any properly documented version of grep reliably and>>>> effectively all day long, but as soon as I try to use the same>>>> expression in webdna's undocumented grep it will fail. Soobviously>>>> we need documentation of webdna's grep ...>>>>>>>> Where is it SMSI?>>>>>>>> Will you *ever* document webdna's grep?>>>>>>>> If not, when will you give us the name of the entity you licensedit>>>> from ... so we can try to get the proper documentation ourselves?>>>>>>>> :(>>>>>>>>>>>>> ------------------------------------------------------------->>> This message is sent to you because you are subscribed to>>> the mailing list .>>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to>> >>> Web Archive of this list is at: http://webdna.smithmicro.com/>>>>>> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to>> >> Web Archive of this list is at: http://webdna.smithmicro.com/>>>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://webdna.smithmicro.com/>>RegardsStuart Tremainidfk web developments114a/40 yeo street neutral bay 2089 australiat +612 9908 2134f +612 9908 4837-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail toWeb Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Stuart,I am not seeing any problems with the ignorecase=T option on w2K. Can yousend me an example of your [grep] code?-----Original Message-----From: Stuart Tremain [mailto:development@idfk.com.au]Sent: Tuesday, November 11, 2003 7:55 PMTo: WebDNA TalkSubject: Re: Grep Question - MAY NEVER BE SOLVEDBTWI can't get IgnoreCase=T to work with WebDNA 5 on w2KOn Wednesday, November 12, 2003, at 02:47 PM, Kalin Mintchev wrote:> On Wed, 12 Nov 2003, Rajeev Kumar wrote:>>> if you want to force grep to be case insensitive. you have to do case>> 2 like>> this:>>>> [Grep search=([Kk][Ii][Mm])&replace=> color="red">[uppercase]KIM[/uppercase]]kIm is a good dog>> always in>> the theater[/grep]
>>>>>> [Kk] will look for either a "K" or a "k" (or any other letter>> specified> yea, that worked... just doing it....>> inside the []'s).>> Adding a dash in the middle, [K-k], treats it as a range between K to>> k.>> Though im not sure why "hea" was selected.>> because the range from K (ascii 75) to k (ascii 107) contains h (ascii> 104), e (101) and a (97) - i shuld've figured it out sooner.....>> thanks Rajeev...>>>>>>>>> ----- Original Message ----->> From: "Kalin Mintchev" >> To: "WebDNA Talk" >> Sent: Wednesday, November 12, 2003 2:18 PM>> Subject: Re: Grep Question - MAY NEVER BE SOLVED>>>>>>>>>> ok... after a few experiments i get weird stuff happaning...>>>>>> case 1:>>>>>> [Grep search=kim&replace=>> color="red">[uppercase]KIM[/uppercase]]kim is a good dog>>> always in>>> the theater[/grep]
>>>>>> this one produces: KIM is a good dog always in the theater - whichis>>> correct...>>>>>> csase 2:>>>>>> [Grep search=([K-k][I-i][M-m])&replace=>> color="red">[uppercase]KIM[/uppercase]]kim is a good dog>>> always in>>> the theater[/grep]
>>>>>> produces: KIM is a good dog always in the tKIMter - huuuuu?!>>>>>> i'm trying to use case 2 to force grep to be case insensitive...>>> note that>>> if i use "kIM is a... " in case 2 i get the same result...>>>>>> i'd expect both versions to produce result 1.>>>>>> considering that theater doesn't have ANY of the 3 characters(k,i,m)>>> why this grep is messing up theater => tKIMter - what's with the>>> 'hea'>>> string that has to do with KIM?>>>>>> is that only here or somebody can explain?>>>>>> i'd really appreciate some help on this...>>>>>> this is on RH linux and is webcat 4.5... (don't have 5)....>>>>>>>>> thanks....>>>>>>>>> On Wed, 12 Nov 2003, Kenneth Grome wrote:>>>>>>>> hi all,>>>>>>>>>> i was just wondering if anybody out there sees my posts....>>>>>>>>>> the last 3 - 4 times - including the one below - i'm getting my>>>>> post>> back>>>>> from the list - normally - but nobody responds and from time to>>>>> time>> i'm>>>>> getting those WARNING messages from the smithmicro server that>>>>> messages>> to>>>>> my email have been bounced. i don't have any problems recieaving>>>>> mail>> and>>>>> i get to see everybody else's posts....>>>>>>>>>> i'll appreciate if somebody replys to this post so i know that i'm>>>>> not>>>>> shooting in the dark...>>>>>>>>>>>>>>>> I saw your post but I have no answer for you ... and I'll tell you>>>> why:>>>>>>>> SMSI has never documented their version of grep, nor have they ever>>>> helped us to find the *proper* documentation for the unique version>>>> of grep they licensed for use in webdna. Therefore, we have no way>>>> of knowing what is the proper syntax for using webdna's grep>>>> effectively.>>>>>>>> I can use any properly documented version of grep reliably and>>>> effectively all day long, but as soon as I try to use the same>>>> expression in webdna's undocumented grep it will fail. Soobviously>>>> we need documentation of webdna's grep ...>>>>>>>> Where is it SMSI?>>>>>>>> Will you *ever* document webdna's grep?>>>>>>>> If not, when will you give us the name of the entity you licensedit>>>> from ... so we can try to get the proper documentation ourselves?>>>>>>>> :(>>>>>>>>>>>>> ------------------------------------------------------------->>> This message is sent to you because you are subscribed to>>> the mailing list .>>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to>> >>> Web Archive of this list is at: http://webdna.smithmicro.com/>>>>>> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to>> >> Web Archive of this list is at: http://webdna.smithmicro.com/>>>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://webdna.smithmicro.com/>>RegardsStuart Tremainidfk web developments114a/40 yeo street neutral bay 2089 australiat +612 9908 2134f +612 9908 4837-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail toWeb Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
"Scott Anderson"
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:
Deleting Cookie Problems (2007)
BIG PROBLEMS with Checkboxes!!! (1998)
Wireless WebDNA available today! (2000)
Disappearing HTML/WebDNA (1998)
WebCat2 Append problem (B14Macacgi) (1997)
Configuration Q (1998)
Errant Email. (1998)
Perl programmer needed (2002)
counting characters and/or words (1997)
Max Record length (1997)
Tax Moratorium Expiring (2001)
Protect and Serve (1999)
Searching on Only a Month that's in a order_date field? (2001)
[searchString] (1997)
webcat error log (1998)
WebCatalog Technical Reference (1997)
Multiple prices (1997)
[switch] platform specific works (2003)
Firesite cache vs webcat cache (1997)
[WebDNA] Virtual server (2011)