Typo fix
Refactor regex and equals helper methods

Logic changes pave the way for further
refactoring of parse_collection.

Equals and regex_match methods now expect either a
primitive or a table to perform a match against.
If a table is received, recursive calls are made,
checking the table values.

operators.NOT_REGEX is also now implemented.