Module Re2.Exceptions
- exception- Regex_no_such_subpattern of int * int
- Regex_no_such_subpattern (n, max)means- nwas requested but only- maxsubpatterns are defined (so- max- 1 is the highest valid index)
- exception- Regex_no_such_named_subpattern of string * string
- Regex_no_such_named_subpattern (name, pattern)
- exception- Regex_submatch_did_not_capture of string * int
- Regex_submatch_did_not_capture (s, i)means the- ith subpattern in the regex compiled from- sdid not capture a substring.