Thanks Eliya,Does .* match space aswell?Initially I dont care if there is space or anything,I want to match everything(including space) but the following code seems to be not matching for the below given input,how do I change to match everything including space>
INPUT:- #include "comdef.h " #include <string.h > if ($line =~ /(#include.*\.h[>"])/ ) {
In reply to Re^8: Checking the include form and getting only the header name
by Anonymous Monk
in thread Checking the include form and getting only the header name
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |