Few more fixes
- Fixed crash
- Updated test cases due to changes in RegexIterator::accept()
Removed unused value