Hi there,
When trying to match against invalid data, apply just seems to return nil, is there some way to generate a nicer result, perhaps where it was unable to match the next byte, at what position and what it expected and what it got?
It would be good if apply returned a standard {:ok, capture_result} or {:error, something_else}
Cheers.
Great library by the way :)
Hi there,
When trying to match against invalid data,
applyjust seems to returnnil, is there some way to generate a nicer result, perhaps where it was unable to match the next byte, at what position and what it expected and what it got?It would be good if
applyreturned a standard{:ok, capture_result}or{:error, something_else}Cheers.
Great library by the way :)