Quantcast WoWInterface - View Single Post - Bug Report: % Symbol
View Single Post
12-07-07, 01:19 AM   #5
Shirik
Blasphemer!
Premium Member
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2007
Posts: 818
Originally Posted by Taffu
I tested around with it a bit and it's not just WoWUI Builder. Scite throws the same error when compiling
Again, SciTE was built with Lua 5.0. In 5.0, % was not the modulus operator. Before 5.0, it was the upvalue operator. Only in 5.1 is it the modulus operator. Use one of the two options I supplied above.
__________________
たしかにひとつのじだいがおわるのお
ぼくはこのめでみたよ
だけどつぎがじぶんおばんだってことわ
しりたくなかったんだ
It's my turn next.

Shakespeare liked regexes too!
/(bb|[^b]{2})/
  Reply With Quote