An OCaml implementation of glob(3)

Add failing regression tests for edge cases bugs #17

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

All of these test cases currently fail:

  • star-empty-match: * cannot consume zero characters
  • match-exhausted-path: ? / [..] / dir-sep should raise an exception when the path is shorter than the pattern
  • of_string-error: an unclosed [ raises instead of returning Error
  • roundtrip-meta: roundtrip fails as to_string emits meta chars in String components verbatim

These tests are expected to fail at this commit.

Commits 0