Fixed a regexp bug in PathLink.cs.