a small correction of mine. i wanted to match not only last part but beggining 
of last part . so your solution is ok and thanks. Based on it with a small 
addition i can match the beggining of the last part of full path.

So:

'm[^\/]*$' (why \ needs quoting? , i think is not special character  in perl 
reg exprs)

'm[^/]*$' it will also match /bla/bla/blma 

And to match the beginning of the last part of full path :

'.*/m[^/]*$


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to