Accept fn on router.add
RegExp draft