The old regex ```path.match(%r{.*/([^/]+)/manifest...
# puppet
a
The old regex
Copy code
path.match(%r{.*/([^/]+)/manifests/(.+)$})
Gives
Copy code
#<MatchData "<codedir>environments/production/modules/<foo>/manifests/init.pp" 1:"<foo>" 2:"init.pp">
But the new one returns
nil