Re(4): & in grep

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 51112
interpreted = N
texte = >Well, this is positively evil, but works: > >[grep search=#&replace=%26] >[grep search=traduire.([0-9A-Za-z]*)&replace=(include >file=../div/traduction.inc#atraduire=[interpret][lng][/interpret]-\1%5D] >traduire=test1 >
>traduire=test2 traduire=test3 >[/grep] >[/grep]if is evil because as soon as I replace the first ( by %5B then it breaks again !there is something wrong with the grep context when it contains special characters like [ ] or &What can be done for that ?L. ------------------------------------------------------------- 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:

    
  1. Re(4): & in grep (laurent pladys 2003)
  2. Re(2): Re(4): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (l.bache@interacti-system.fr (Laurent Bache) 1998)
  3. Re: Re(4): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (Will Starck 1998)
>Well, this is positively evil, but works: > >[grep search=#&replace=%26] >[grep search=traduire.([0-9A-Za-z]*)&replace=(include >file=../div/traduction.inc#atraduire=[interpret][lng][/interpret]-\1%5D] >traduire=test1 >
>traduire=test2 traduire=test3 >[/grep] >[/grep]if is evil because as soon as I replace the first ( by %5B then it breaks again !there is something wrong with the grep context when it contains special characters like [ ] or &What can be done for that ?L. ------------------------------------------------------------- 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/ laurent pladys

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:

WebCat2final1 crashes (1997) Re:Hideif / Showif (1998) Configuring E-mail (1997) Acrobat Form Submission (1999) Credit card types (1997) no global [username] or [password] displayed ... (1997) [addlineitems] (1997) [WebDNA] WebDNA Not Sending Email (2009) [/application] error? (1997) oops private message leaked into talk list (1997) RE: OK, here goes... (1997) [Summary] re: Emailer setup (1997) Lost and Recovered. (1998) authorizenet and netscape (2002) Date comparison using showif (2003) setitems, one more thing (1997) [WebDNA] WebDNA and MAMP/Apache (Mac) (2018) Extended [ConvertChars] (1997) date format (2000) Fwd: [ANNOUNCE] BIAP W*API Patch plug-in (1998)