Home » File System » File_SearchReplace
Performs search and replace routines
This package is unmaintained.
Download latest release 1.1.4 (archived versions might be outdated)
License: BSD
Description
Provides various functions to perform search/replace
on files. Preg/Ereg regex supported along with faster
but more basic str_replace routine.
Documentation
Maintainers
- Richard Heyes (richard) — lead, inactive
- Anatoly Techtonik (techtonik) — lead, active
- Daniel O'Connor (doconnor) — lead, active
Dependencies
Required
- PHP (>= 4.3.0)
- PEAR Installer (>= 1.4.0b1)
Releases
- 1.1.4 (stable, 2010-10-25)
Release notes
License: BSD
QA release
Bug #14892 Notice: Array to string conversion
Bug #17727 Patch to drop deprecated ereg support
Request #14917 Improve PHPCS results
Dir structure - 1.1.2 (stable, 2007-04-09)
Release notes
License: BSD
- bug #10395 - typo in method quickSearch doesn't allow function to work with PHP5
- 1.1.1 (stable, 2006-07-12)
- 1.1.0 (stable, 2005-12-04)
Release notes
License: BSD
+ Introduced doReplace method - use it instead of doSearch, because
functionality of doSearch will likely to be changed to operate in
read-only mode in future versions
+ Now search and replace arguments can be arrays (even in ereg mode)
+ In PHP5 use new features to count occurences
* Memory optimizations for normal, quick and preg modes
- Reset occurences counter on every call to doSearch - 1.0.1 (stable, 2002-07-27)
Release notes
License: BSD
License change
- 1.0 (stable, 2002-04-21)
Release notes
License: BSD
Initial release
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #2707 | Open | Req | 2004-11-06 | Search without Replace | |
| #3067 | Closed | Req | 2004-12-30 | Reduce memory consumption and adding array replacements in pregSearch | |
| #8103 | Closed | Bug | 1.1.0 | 2006-07-02 | Length parameter must be greater than 0 on empty files |
| #10395 | Closed | Bug | 1.1.1 | 2007-03-15 | typo in method quickSearch |
| #13842 | Open | Req | 1.1.2 | 2008-05-06 | Get which were the files affected by the replacement |
| #14892 | Closed | Bug | CVS | 2008-10-27 | Notice: Array to string conversion in /home/clockwerx/pear/File_SearchReplace/S |
| #14917 | Closed | Req | CVS | 2008-10-29 | Improve PHPCS results |
| #14926 | Open | Req | CVS | 2008-10-30 | Make use of setters, getters where appropriate |
| #17727 | Closed | Bug | SVN | 2010-08-17 | Patch to drop deprecated ereg support |
| #19940 | Feedback | Bug | 1.1.4 | 2013-05-08 | It is not working with subdirecotry |