Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add eqatim and indexim ops. Fix a bug when using ignoremark
There was a bug with ignoremark if the first two codepoints in the haystack matched, it would act as if the entire needle had matched. This was only with ignoremark by itself, as ignorecase+ignoremark had already been fixed. This bug was less noticable than the previously fixed bug in ignorecase+ignoremark, but it has been solved the same way as the ignorecase+igoremark had been solved — adding new MoarVM ops. In this case there already was a nqp::eqatim op, but it did not work properly. This op has been fixed upstream in MoarVM in addition to the nqp::indexim op being added.
- Loading branch information
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters