Immediately make a reservation, with the regular not so often come across
There is a value in the variable:
define ('COOKIE_PATH', 'project0');
it is necessary to change the parameter project0
My decision:
$strings =~ s/('COOKIE_PATH'\s*,\s*)'\w*'/$1'555'/g;
The problem is that on the site of project0
can be not only letters and numbers, but also /
How to replace for example this value:
define ('COOKIE_PATH', '/ project0');