add capturing group feature to path condition, see help