HaxeFoundation / HaxeFoundation/haxe
Multiline matching works with \r\n only on JS and Flash?
Open
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
Test code:
```haxe
class Main {
static function main() {
trace(~/^\d$/gm.replace("1\r\n2\r\n~", "?"));
}
}
```
From my tests (@3b4c330):
Works on: JS, Flash
Does not work on: Neko, C++, C#.
Is this intentional? If so, should the documentation mention it?
Contributor guide
Assessment
This issue has not been assessed yet.