Re: help with grep
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 69856
interpreted = N
texte = OOPPS, the second 2 that don't work should be:[Text]Result=[Grep search=\&&replace=?][Result][/Grep][/Text][Text]Result=[Grep search=(\&)&replace=?][Result][/Grep][/Text]Marc Thompson wrote:> I've run into a dilema and can't seem to get grep to work on a URL > string. What I need to do is replace a single instance of "&" with a > "?", but I cannot seem to get the correct syntax?> > [Text]Result=http://www.domain.com/menu.4321&var1=xxx[/Text]> The following don't work?> [Text]Result=[Grep search=&&replace=?][Result][/Grep][/Text]> [Text]Result=[Grep search=\&=&replace=?][Result][/Grep][/Text]> [Text]Result=[Grep search=(\&)=&replace=?][Result][/Grep][/Text]> > Any ideas?-- -------------------------------------------Marc ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu--------------------------------------------------------------------------------------------------------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:
OOPPS, the second 2 that don't work should be:[text]Result=[Grep search=\&&replace=?][Result][/Grep][/Text][text]Result=[Grep search=(\&)&replace=?][Result][/Grep][/Text]Marc Thompson wrote:> I've run into a dilema and can't seem to get grep to work on a URL > string. What I need to do is replace a single instance of "&" with a > "?", but I cannot seem to get the correct syntax?> > [text]Result=http://www.domain.com/menu.4321&var1=xxx[/Text]> The following don't work?> [text]Result=[Grep search=&&replace=?][Result][/Grep][/Text]> [text]Result=[Grep search=\&=&replace=?][Result][/Grep][/Text]> [text]Result=[Grep search=(\&)=&replace=?][Result][/Grep][/Text]> > Any ideas?-- -------------------------------------------Marc ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu--------------------------------------------------------------------------------------------------------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/
Marc Thompson
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:
carriage returns in data (1997)
Emailer problem (2000)
is there a global includes directory? (1998)
Re1000001: Setting up shop (1997)
Word wrapping (1997)
WebDNA Partner edition .. (2002)
OT: [WAY IN RIGHT FIELD SOMEWHERE] Spam Filters (2005)
price formula (1999)
Off Topic - OS X web server, FTP accounts (2003)
Search 1 Field Twice? (2004)
WebCat-based calendars and discussion boards (2000)
[WebDNA] xmlparse of POST (2014)
email bounce check (2002)
Help name our technology! I found it (1997)
OFF-TOPIC: Lending investors ... (2002)
New site announcement + Showing once on a founditems (1997)
search zip codes ranges (2003)
[OT] EDC forum continued.. (2007)
webmerchant and check cashing (1998)
Re:no template caching (1997)