Introduction

Introduction

Introduction -- HowTo s'n'r in files

Types of search functions

File_SearchReplace supports different kinds of search functions. The type directly influence the format of the required $find-parameter

normal - default, the only type supporting the $IgnoreLines-parameter
quick - use str_replace()
preg - use preg_replace()
ereg - use ereg_replace()

To set the type, call setSearchFunction() before doSearch().

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.