yoastseo
Version:
Yoast client-side content analysis
26 lines (25 loc) • 710 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _default;
/**
* Returns the word boundaries.
* @returns {string[]} The array of word boundaries.
*/
function _default() {
return [
// Whitespace is always a word boundary.
" ", "\\n", "\\r", "\\t",
// NO-BREAK SPACE.
"\u00a0",
// \u06d4 - Urdu full stop
"\u06d4",
// \u061f - Arabic question mark
"\u061f",
// \u060C - Arabic comma
"\u060C",
// \u061B - Arabic semicolon
"\u061B", " ", ".", ",", "'", "(", ")", "\"", "+", "-", ";", "!", "?", ":", "/", "»", "«", "‹", "›", "<", ">", "”", "“", "〝", "〞", "〟", "‟", "„"];
}
//# sourceMappingURL=wordBoundaries.js.map