LocalRegex constructor Null safety

LocalRegex()