Closed teebu closed 1 year ago
“d” flag is new and not implemented (yet?).
It is fairly new for JS, but has been done in other languages. I'm not sure how this RE2 engine is made, I assume it was some kind of a port from another language.
Thanks for the quick response. Are there any plans on adding it?
There were no plans to implement it. :-) Now I think we should. I don't know when I can allocate time to do it, but PRs will be considered.
Thanks @uhop
I'm trying to get index start/stop locations of group matches using RE2. I noticed it works fine in JAVA implementation of RE2. However im running into difficulties getting similar functionality with node.
I realize the
d
flag is specific to javascript.results from re2 and built in: