On 10-11-16 04:07 PM, Vincent Li wrote:
My aim is to remove specific profile.*{} block from that file
Yes, but if the {} blocks are nestable, then you can't do it with regular expressions alone.
-- Just my 0.00000002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. The secret to great software: Fail early & often. Eliminate software piracy: use only FLOSS. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/