make named pattern groups accessible
some documentation