Added docblocks to Regex class, updated test class