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:
[BULK] [WebDNA] [BULK] [middle] behavior (2020)
Limit to Field Length in DB (1998)
MOOOOOO (2000)
[SearchString] problem with [search] context (1997)
Ticket Ordering Question (2003)
security problem (1997)
Error Log.db --however (1997)
I can help! (1996)
searchable list archive (1997)
WebCat Contest Please Clarify (1998)
Forms IMG tag[OT] (2001)
Upgrade on MacOSX 3.05 to 3.08 (2000)
FYI: virus alert (1996)
2.1 release (1998)
Help (1999)
WebCatalog-NT?'s (1996)
Stop the madness. (1997)
Nested vs conditional (1997)
Plugin or CGI or both (1997)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)