Support path segment including regexp metachars