public function initializeArguments()
{
$this->registerAsArgument();
$this->registerArgument('pattern', 'mixed', 'Regex pattern to match against', true);
$this->registerArgument('subject', 'mixed', 'String to match with the regex pattern', true);
$this->registerArgument('global', 'boolean', 'Match global', false, false);
}