/^\\([^\\]+)\\([^\\]+).*?(\w+\.cpp)/
And you say that might be _easier_? :)
Anyway, I think you missed a $ (or even better: \z) there... \foo\bar\baz.cpp.cpp.cpp.blah.cpp.
- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.
In reply to Re: (joshua)Re: parsing a path
by Juerd
in thread parsing a path
by DS
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |