Fix Regexp encoding under 1.9/2.0
autojump 21.4.2

Closes #17742.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
OPAM: add head, clarify caveats

Closes #17743.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>