Re: No subject given

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31355
interpreted = N
texte = Or if you have an editor with regex support, you can make two passes:Search: \[text ([^\]]#)\] Replace: \[text \0&secure=f\]In MultiEdit (Windows only), that search string will match any instance of a [text] tag with parameters and snag all text before the closing bracket. The [^\]] matches any single character that is not a right bracket and the # select 1 or more of them. That \0 in the replace string is the first matching text (in parentheses) from the search.The second pass is to deal with plain [text] tags with no parameters.John PeacockJereme Claussen wrote: > > Need to add a couple more to that list unless I have missed something > (Just joined the list today).. > > change [text multi=t] to [text multi=t&secure=f] > change [text show=f&multi=t] to [text show=f&multi=t&secure=f] > change [text show=t&multi=t] to [text show=t&multi=t&secure=f] > change [text multi=t&show=f] to [text show=f&multi=t&secure=f] > change [text multi=t&show=t] to [text show=t&multi=t&secure=f] > > Those last two can be eliminated if all of your code is consistent.. > > -jtc > > >1- change [text] to [text secure=f] > >2- change [text show=f] to [text show=f&secure=f] > >3- change [text show=t] to [text show=t&secure=f] > > --- > | Jereme Claussen | jeremec@darkhorse.com | > | Web Developer | Dark Horse Comics, Inc. | > | 503.652.8815x330 | http://www.darkhorse.com/ | > | THIS SPACE | My mom calls me pepito! | > | FOR RENT | -- The Lord of Darkness | > > ############################################################# > 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 > To switch to the INDEX mode, E-mail to > Send administrative queries to ############################################################# 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 To switch to the INDEX mode, E-mail to Send administrative queries to Associated Messages, from the most recent to the oldest:

    
  1. Re: Grepping text variable tags (was: Re: No subject given) (John Butler 2000)
  2. Re: Grepping text variable tags (was: Re: No subject given) (John Peacock 2000)
  3. Re: Grepping text variable tags (was: Re: No subject given) (John Peacock 2000)
  4. Re: Grepping text variable tags (was: Re: No subject given) (Chuck Rice 2000)
  5. Re: Grepping text variable tags (was: Re: No subject given) (Kenneth Grome 2000)
  6. Re: Grepping text variable tags (was: Re: No subject given) (Jereme Claussen 2000)
  7. Re: Grepping text variable tags (was: Re: No subject given) (Kenneth Grome 2000)
  8. Grepping text variable tags (was: Re: No subject given) (Rob Marquardt 2000)
  9. Re: No subject given (Jereme Claussen 2000)
  10. Re: No subject given (Kenneth Grome 2000)
  11. Re: No subject given (John Peacock 2000)
  12. Re: No subject given (Jereme Claussen 2000)
  13. Re: No subject given (John Peacock 2000)
  14. Re: No subject given (Kenneth Grome 2000)
  15. No subject given (jpeacock@univpress.com 2000)
Or if you have an editor with regex support, you can make two passes:Search: \[text ([^\]]#)\] Replace: \[text \0&secure=f\]In MultiEdit (Windows only), that search string will match any instance of a [text] tag with parameters and snag all text before the closing bracket. The [^\]] matches any single character that is not a right bracket and the # select 1 or more of them. That \0 in the replace string is the first matching text (in parentheses) from the search.The second pass is to deal with plain [text] tags with no parameters.John PeacockJereme Claussen wrote: > > Need to add a couple more to that list unless I have missed something > (Just joined the list today).. > > change [text multi=t] to [text multi=t&secure=f] > change [text show=f&multi=t] to [text show=f&multi=t&secure=f] > change [text show=t&multi=t] to [text show=t&multi=t&secure=f] > change [text multi=t&show=f] to [text show=f&multi=t&secure=f] > change [text multi=t&show=t] to [text show=t&multi=t&secure=f] > > Those last two can be eliminated if all of your code is consistent.. > > -jtc > > >1- change [text] to [text secure=f] > >2- change [text show=f] to [text show=f&secure=f] > >3- change [text show=t] to [text show=t&secure=f] > > --- > | Jereme Claussen | jeremec@darkhorse.com | > | Web Developer | Dark Horse Comics, Inc. | > | 503.652.8815x330 | http://www.darkhorse.com/ | > | THIS SPACE | My mom calls me pepito! | > | FOR RENT | -- The Lord of Darkness | > > ############################################################# > 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 > To switch to the INDEX mode, E-mail to > Send administrative queries to ############################################################# 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 To switch to the INDEX mode, E-mail to Send administrative queries to John Peacock

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:

WCS Newbie question (1997) back button loses cart (update for ken) (2000) WebCat2 - Getting to the browser's username/password data (1997) Help! WebCat2 bug (1997) GuestBook example (1997) Middle problem (2005) Text Manipulation Not Sticking - NEVER MIND (2002) X Server (1999) Re:E-Mailer (WebCatb15acgiMac) (1997) AuthorizeNet Declines (2005) Grouping fields problem (1998) Inventory Debit Procedure (1998) protect tag on NT IIS (1997) Country & Ship-to address & other fields ? (1997) Re[2]: Field Problem (2000) Hiding HTML and breaking the page (1997) Webcat 2.0.1 date math bug -> Crash! (1997) dates as search criteria (2000) Need help... (1997) Fwd: Problems with Webcatalog Plug-in (1997)