private static function init() { if (count(self::$map) > 0) { return; } foreach (self::$maps as $map) { foreach ($map as $orig => $conv) { self::$map[$orig] = $conv; self::$chars .= $orig; } } self::$regex = '/[' . self::$chars . ']/u'; }