Kindly let me know where am I going wrong!!
Unfortunately you have not said how it is going wrong and since we don't have your tree of files to run it on it's all down to guesswork. See SSCCE. "It doesn't work" is as useful to a developer as "I'm ill" is to a medic. Be specific.
Also, the lack of strict and warnings is a bad sign. See the Basic Debugging Checklist.
Best guess is that your regex is wrong. Is the exact string you wish to find " ^module " with all that whitespace and the caret?
In reply to Re: Parse for a name after a keyword search in all the files, given directory as input
by hippo
in thread Parse for a name after a keyword search in all the files, given directory as input
by prash_sri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |