[messages] [Technical Support & Bugs] Regular expression not working

greenknight roe.dmb at gmail.com
Sat Sep 3 10:56:05 CEST 2016


According to the design guide, this should be a valid expression:

{GetProperty("Token 1_Level")=~1|3|5|7|9}

But I only get this:

 - Bad Data in Module: Expression evaluation error
Expression={GetProperty("Token 1_Level")=~1|3|5|7|9}, Error= inline
evaluation of: ``_xyzzy=_plugh();'' internal Error: Unimplemented binary
integer operator

Weird, huh?

I just want to check if Token 1_Level is equal to any one of 1,3,5,7,
and 9.

_______________________________________________
Read this topic online here:
http://www.vassalengine.org/forum/viewtopic.php?p=52065#p52065


More information about the messages mailing list