Fixed bug in withNameRegex and firstWithNameRegex when name is null
Merge pull request #81 from CYKEB/RegexFix

Fixed bug in withNameRegex and firstWithNameRegex when name is null