Closed shlomif closed 10 years ago
The problem is that the js regex emitter doesn't know about list context.
I've committed a4f5c34c006ca1d0bd1f99230edae448a65fd550 which propagates "wantarray" context into the regex emitter. But the regex emitter doesn't do anything with it just yet.
this should be fixed with:
commit 997461ef0408b34bcbf717f7250d2f197af573f8 Perlito5 - js - implement special syntax "PATTERN" for split() commit 491ce2e4461f495c174bc07cd8de0b0c6959dbcf Perlito5 - js - split() runtime accepts regex as first argument
The code is taken from this branch:
https://github.com/shlomif/fc-solve/tree/Games-Solitaire-Verify--for-Perlito--Get-Rid-of-Getopt-Long