sequential spaces are removed and acceptableCharsRegex works during paste event