Use pattern matching on `err_cstring.as_str()`
Break apart one `assert` into two
Make Pcre.capture_count private

The standard library structs use the pattern of providing a getter method
rather than providing direct access.