in reply to Re^7: Checking the include form and getting only the header name
in thread Checking the include form and getting only the header name
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[>"])/ ) {
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Checking the include form and getting only the header name
by Anonymous Monk on Mar 20, 2011 at 06:12 UTC | |
by Anonymous Monk on Mar 20, 2011 at 06:49 UTC | |
by Anonymous Monk on Mar 20, 2011 at 07:08 UTC | |
by Anonymous Monk on Mar 20, 2011 at 07:53 UTC | |
by Anonymous Monk on Mar 20, 2011 at 08:08 UTC |