Returns the requirement for the given key.
string $key The key:
string The regex
public function getRequirement($key) { return isset($this->requirements[$key]) ? $this->requirements[$key] : null; }