Cast the expected number of matches to "int" to have the same type as wxRegEx::Replace() return value -- there is no danger of truncation here as we're never going to expect billions of matches.
Cast the expected number of matches to "int" to have the same type as wxRegEx::Replace() return value -- there is no danger of truncation here as we're never going to expect billions of matches.