Bug in separate with negative lookbehinds in regex
Open
Nobody has claimed this yet.
Core
- Dominant language
- Macaulay2
- Stars
- 435
- Forks
- 297
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 11
Description
There seems to be an issue with negative lookbehinds, but it's a very specific edge case:
```m2
i1 : separate("(? "aaabbb".split(/(? "aaabbb".search(/(?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the separate and regex examples from issue #1638, then compare their handling of the negative-lookbehind pattern with the shown Node.js behavior. The work is done when separate and regex produce consistent, expected results for this case and the regression is covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100