perl -pi <<'PRG_END' s|<!--#include virtual="/ssi/footer.txt"-->|<?php include(\$_SERVER['D +OCUMENT_ROOT'].'/ssi/footer.txt'); ?>|g; PRG_END
In reply to Re: regex question with balanced text
by Skeeve
in thread regex question with balanced text
by hmbscully
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |