Fix errors with special chars been passed as regular expression.
Add Carl Antuar's compare.lua script to project.