in reply to parsing a path

You are extract three groupings, but have only two sets of parens. Try
if(/^\\([^\\]+)\\([^\\]+).*?(\w+\.cpp)/)
-Mark

Replies are listed 'Best First'.
Re: Re: parsing a path
by DS (Acolyte) on Jul 17, 2002 at 18:23 UTC
    tahnks to you all