fixed bug66702 : regexiterator's invert flag doesn't work as expected