in reply to Re^3: Help with a regular expression for file name parsingin thread Help with a regular expression for file name parsing
m/\@include\s+('[^']+'|"[^"]+"|.+?(?<!\\))\s/gi;
Ah. So my regex wasn't so useless to you after all.
The start of some sanity?