fix cInput::regExp usage as function