Next:
EDIT_appendToFile
Up:
./inc/edit.php
Previous:
EDIT_deleteMatching
Contents
EDIT_replaceLineElseAdd
Description:
Deletes all lines, that match regular expression, afterwards adds a given line
Parameter:
file: the name to the file
search: regular expression to search
replace: line to add