Re(4): grep matching
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 48032
interpreted = N
texte = >This is why I suggested replacing the first (.*) code with ([^-]*), and >the second one with ([^\]]). These say select all characters not listed >in the square brackets - that is, select until you find a - or a ], >respectively.Thanks Brian,I managed to have it work the way I want by using : [grep search=\[([^-]*)->([^->]*)\]&replace=\1] ....I couldn't have found it myself without your help and it is difficult toread but, hey, it works !demo here :
Regards,Laurent-------------------------------------------------------------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:
|
- Re(4): grep matching (laurent pladys 2003)
|
>This is why I suggested replacing the first (.*) code with ([^-]*), and >the second one with ([^\]]). These say select all characters not listed >in the square brackets - that is, select until you find a - or a ], >respectively.Thanks Brian,I managed to have it work the way I want by using : [grep search=\[([^-]*)->([^->]*)\]&replace=\1] ....I couldn't have found it myself without your help and it is difficult toread but, hey, it works !demo here :Regards,Laurent-------------------------------------------------------------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:
OFF-TOPIC: Check www.godaddy.com for me ... (2003)
one item in several different categories? (2000)
First postarg not taking in $Commands (1997)
PCS Customer submissions ? (1997)
Some Advise needed (1997)
Formatting ModDate (2000)
RE: Error reading data -1 (1997)
Round up prices (2000)
HTML Editors (1997)
Striping Characters (1998)
[append] vs. [appendfile] delta + question? (1997)
Loops N Variables (1998)
Caching [include] files ... (1997)
HELP!!! (1998)
Need help with emailer- 2 issues (1997)
can WC render sites out? (1997)
WCS Newbie question (1997)
Sorting by date (1997)
Parse question (2005)
WebDNA implementation of MD5 algorithm? (2004)