Altered the regular expression used for removing the class appended to items being swiped. Removed the noncapturing group specifying that either the start of the line or a space must be present before the classname appended and replaced it with a regex that matches an optional space before the classname appended, which accomplishes the same task but in a more sane way.