regexp in GGB 5.0 not works

rami shared this problem 6 months ago
Not a Problem

The attached ggb file works in GGB 6.0.535 but not in GGB 5.0.536

Possibly a wrong JS interpreter is loaded in GGB 5.0.

Comments (2)

photo
1

Try changing

pg1 = ggbApplet.getDefinitionString(obj, false)


to make sure it's a "proper" JS string:

pg1 = ggbApplet.getDefinitionString(obj, false) + ""

photo
1

Thanks,

of course that's how it works.

© 2019 International GeoGebra Institute