one option might be: (?:\s|__INSERT_VERY_SPECIFIC_REGEX_FOR_THIS_ISSUE__) so we match either a single space Or the extra close/open span