reference r s should give the same results as s =~ r.
However, this is not very efficient implementation and is supposed to be used for testing only.
:: a typeCtrl KGHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11
Moduleregex-applicative-0.3.4Haskell2010
Reference implementation (using backtracking).
This is exposed for testing purposes only!
reference r s should give the same results as s =~ r.
However, this is not very efficient implementation and is supposed to be used for testing only.