Fix NameTest Performance/ConstantRegexp offenses
Fix NameTest Performance/ConstantRegexp offenses

Memoize regex's with `/o` option

MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer