How can a user duplicate Character Classes in AMS 5 like those used in PHP 5?
I looked at the following page to try and find the equivalent in AMS 5:
http://www.lua.org/pil/20.2.html (seeing how LUA is Embedded into AMS 5)
Here is a very simple example of what I want to do:
I thought I had seen the solution before in the forums here... but alas... it seems that post has gone to the big code grave in the sky.Code:num = 5; if num == "1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 0" then -- I want something more like [0-9] to minimize the code Dialog.Message("", "Found a match!"); else Dialog.Message("", "Sorry, no match"); end
Any ideas?
Thanks in advance,

