An OCaml implementation of glob(3)

Raise an invalid_argument if we encounter a pattern match exhaustion #18

Closed anil.recoil.org
targeting main from anil.recoil.org/glob:edge-case-fixes
Closed opened by and assigned to anil.recoil.org
targeting main from anil.recoil.org/glob:edge-case-fixes

The checker invokes String.get path i without checking bounds, which then raises. Instead, raise Invalid_argument in these cases except for index_from_opt which returns an option.

Commits 0