Fix for "100%" value in withSize

Updated the regex to allow for "100%" to be used as a value for percentage resizing in "withSize"