HaxeFoundation / HaxeFoundation/haxe
Unexpected behavior for ~/\b/g.split() on some targets
Open
bug
platform-cpp
platform-hl
platform-neko
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
Followup for #9601.
___
```haxe
function main() {
trace(~/\b/g.split("Test"));
}
```
Targets seem to disagree there:
- `[,T,e,s,t]` for eval
- `[,T,est]` for neko, cpp and hl
- `[,Test,]` for js, swf, python, php, lua, jvm and cs
We should check if eval, cpp and hl can be aligned with the other targets. Not sure anybody wants to touch neko at this point.
Contributor guide
Assessment
This issue has not been assessed yet.