And then use $1 to match:m/Alias.+"(.+)"/;
Then append a '#' to that line until you reach the end of the Directory block.m/<Directory\s+"$1">/;
In reply to Re: match and edit block of text
by aukjan
in thread match and edit block of text
by js1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |