Simplify regex used in check_modname_prefix and other improvements.
authorRobert Zenz <Robert.Zenz@bonsaimind.org>
Sat, 7 Nov 2015 15:31:32 +0000 (16:31 +0100)
committerest31 <MTest31@outlook.com>
Tue, 24 Nov 2015 00:49:59 +0000 (01:49 +0100)
commit0cf15470fc16e1ebc13a7d8445cfd4278c3caf8b
treedc02b32b040b53c78ee437623b77c3bd681b7e4d
parentc24f3b0a65afc7654a8377fde29dec0709b1fc49
Simplify regex used in check_modname_prefix and other improvements.

Simplified the regex used, added comments and changed the error message
to contain the correct mod name.
builtin/game/register.lua