I noticed the below condition fails for the below input.Basically anything inside " " and <> should match except a space,how can we change the below match for this?
INPUT:- #include <io-pkt/iopkt_driver.h> --> should match #include "string.h " -->should not match #include "devnp-msm-ipc.h" -->should match if ($line =~ /#include [<"](\w+\.h)[>"]/)
In reply to Re^6: 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: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |