in reply to Regexp question

The problem is that $path doesn't contain anything. It's undefined.

Abigail