Currently, if a target path has one or more hyphens like foo-bar, - are replaced with _ by Symfony\Component\DependencyInjection\Extension\Extension::processConfiguration() (see Symfony\Component\Config\Definition\ArrayNode
). It will cause a problem since the target path is used as a regular expression.