When I first implemented this proposal, it was Stage 3 and the specs
were not even fixed.
But for now, this spec is in Stage 4 and has been cleared up, so I've
updated it.
In the process, I have done some refactoring.
- Shorten code by `bitflags` like `RegExpFlags`
- This requires some lines to make `ast_tools` works
- Update readme
NOTE: The basic behavior remains unchanged.
Closes#6358
@preyneyv I know you've been working on this problem.
This is an implementation that has been dormant on my local for a while.
- All tests are passing
- However, the approach is simple but not general, so there might be some edge cases that were missed
- There's also room for improvement in terms of performance
For these reasons, it was marked as WIP for me.
I believe the test cases and other parts are usable, so feel free to fork and replace them with your implementation if you'd like.