Added sys.platform
Added os.getcwd().
Using consistent style.
Fix bug where stuck in infinite loop when -1 * "".
Added and re-ordered test cases.
Bug fix in re.search: Now taking care of matches with multiple ranges (subgroups).