Bootstrap 4 to 5 Migration - Search for breaking changes

'use strict'; let cssBreaking = [ 'no-gutters', 'badge-\\w+', 'order-\\d', 'media', 'thead-light', 'thead-dark', 'pre-scrollable', 'text-justify', 'custom-check', 'custom-select', 'custom-file', 'custom-range', 'form-control-file', 'form-control-range', 'input-group-append', 'input-group-prepend', 'form-group', 'form-row', 'form-inline', 'btn-block', 'card-deck', 'card-columns', 'card', 'close', 'jumbotron', 'arrow', 'fallbackPlacements', 'whiteList', 'left-\\w', 'right-\\w', 'float-left-\\w', 'float-right-\\w', 'border-left-\\w', 'border-right-\\w', 'rounded-left-\\w', 'rounded-right-\\w', 'ml-\\d', 'mr-\\d', 'pl-\\d', 'pr-\\d', 'text-left', 'text-right', 'text-monospace', 'text-hide', 'font-weight-\\w', 'font-style-\\w', 'rounded-sm', 'rounded-lg' ]; var expr = ""; for (var i = 0; i < cssBreaking.length; i++) { expr += "|\\b" + cssBreaking[i].replace(/-/g, "\\-") + "\\b"; } expr = "class *= *['\"].*(" + expr.substr(1) + ")['\"]"; let res = document.getElementById('results'); if (res) res.innerText = expr;