HTMLRegExp |
RegExp
|
Optional. Regular expression to find HTML elements. |
HTMLcommentRegExp |
RegExp
|
Optional. Regular expression to find HTML comments. |
spaceRegExp |
RegExp
|
Optional. Regular expression to find irregular space
characters. |
HTMLEntityRegExp |
RegExp
|
Optional. Regular expression to find HTML entities. |
connectorRegExp |
RegExp
|
Optional. Regular expression to find connectors that
split words. |
removeRegExp |
RegExp
|
Optional. Regular expression to find remove unwanted
characters to reduce false-positives. |
astralRegExp |
RegExp
|
Optional. Regular expression to find unwanted
characters when searching for non-words. |
wordsRegExp |
RegExp
|
Optional. Regular expression to find words by spaces. |
characters_excluding_spacesRegExp |
RegExp
|
Optional. Regular expression to find characters which
are non-spaces. |
characters_including_spacesRegExp |
RegExp
|
Optional. Regular expression to find characters
including spaces. |
shortcodesRegExp |
RegExp
|
Optional. Regular expression to find shortcodes. |
l10n |
Object
|
Optional. Localization object containing specific
configuration for the current localization.
Properties
Name |
Type |
Description |
type |
String
|
Optional. Method of finding words to count. |
shortcodes |
Array
|
Optional. Array of shortcodes that should be removed
from the text. |
|