Skip to content

0.5.9

Compare
Choose a tag to compare
@zazedd zazedd released this 08 Aug 16:49
· 20 commits to master since this release
3c13d68

Updates

  • Optimized code generation for default rhs
  • Improvements to variable subst code
  • Fixing issue where too much memory would be allocated for the mixed match case
  • Pre-fix for pattern guard issue relating to how ocaml-re runs Marks

Known Issues

function%mikmatch
| {|/ regex1 /|} where something (* evaluates to false *) -> rhs1
| {|/ regex2 /|} -> rhs2
| _ -> rhs3

Where regex1 and regex2 intersect (for example 'a'+ 'b' and 'a' 'b'+ where the input string is "ab"). One would expect rhs2 to run, however due to how marking works (it only marks the first successful match and doesn't search forward), rhs3 actually runs. A warning was added to the README.