So for I game I want the user to be able to do commands. For simplicity all parameters are put into a table.
Example: "message all Hello" -> {"message","all","Hello"}
For that I've used the alphanumeric pattern (%w). Problem is that characters like: _ ; : . Simply can not be used, since they're not alphanumeric. Is there anyway to use the all characters pattern(.), but ignore spaces. Or is there any better way to do it? Thank you for your help
[^ ]?