Macro errors with Shaders/Filters

I’m testing the newly added filters and trying out ColorMatrixFilter I get the following error:

/usr/share/haxe/std/neko/_std/EReg.hx
Error:(33, 11) Unsupported escaped char 's’
Error:(22, -1) Called from
/home/er453r/haxelib/openfl/3,4,0/openfl/_internal/macros/MacroShader.hx
Error:(29, 27) Called from

It looks like RegEx support in macros varies across development platforms and for some it works like that, for some it does not.

My system is ubuntu x64, any ideas how to fix this?

Some topics on the same issue:
http://old.haxe.org/forum/thread/3395#nabble-td6680244

I’ve created an issue here: https://github.com/openfl/openfl/issues/920

(tried changing \s to [ \t\n] but more other RegEx errors follow… )

Just checked - it compiles on windows x64, the problem exists only on linux x64

reported this as a haxe issue, not openfl

SOLVED: https://github.com/HaxeFoundation/haxe/issues/4625#issuecomment-154029187

Haxe/OpenFL community is the best :slight_smile: