Search the web
Sign In
New User? Sign Up
textpipe-discuss · TextPipe user discussion forum
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Quick Tip - Restricting to sections of a .INI file   Message List  
Reply | Forward Message #510 of 525 |
You can restrict a replacement or set of changes to a single section
of a .INI file. The trick is to use a search/replace as the
restriction. The example below converts a .INI file section starting
with [TmainForm] to lowercase. This can be easily changed to perform
a search/replace, or to remove matching lines, or to add new lines
with an Add Footer filter.

EasyPattern [[ mustBeginWith( '[TmainForm]', cr, lf, ), 1+ char,
mustEndWith( cr, lf, '[' ) ]] with [$0]
| [ ] Match case
| [ ] Whole words only
| [ ] Case sensitive replace
| [X] Prompt on replace
| [ ] Skip prompt if identical
| [ ] First only
| [ ] Extract matches
| Maximum text buffer size 4096
|
+--Convert to lowercase

If the .INI file section will be longer than 4Kbytes, increase the
maximum text buffer size to suit.






Thu Sep 9, 2004 12:34 am

crystalsoftw...
Offline Offline
Send Email Send Email

Forward
Message #510 of 525 |
Expand Messages Author Sort by Date

You can restrict a replacement or set of changes to a single section of a .INI file. The trick is to use a search/replace as the restriction. The example below...
crystalsoftwareau
crystalsoftw...
Offline Send Email
Sep 9, 2004
12:37 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help