The second option I posted (i.e. cutting off the stuff before #include) takes care of that.
Otherwise, if you don't want the comments in the output, simply remove the $ (which means "anchor at end of line") in the first option.
In reply to Re^5: Checking the include form and getting only the header name
by Eliya
in thread Checking the include form and getting only the header name
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |