RegExp instead of substr for action
First composer.json