MCPcopy Create free account
hub / github.com/microsoft/SandDance / CountPattern

Function CountPattern

docs/app/js/sanddance-app.js:116545–116547  ·  view source on GitHub ↗

* Count regexp-defined pattern occurrences in a text field. * @constructor * @param {object} params - The parameters for this operator. * @param {function(object): *} params.field - An accessor for the text field. * @param {string} [params.pattern] - RegExp string defining the text pattern. * @

(params)

Source from the content-addressed store, hash-verified

116543 * @param {string} [params.case] - One of 'lower', 'upper' or null (mixed) case.
116544 * @param {string} [params.stopwords] - RegExp string of words to ignore.
116545 */ function CountPattern(params) {
116546 (0, _vegaDataflow.Transform).call(this, null, params);
116547}
116548CountPattern.Definition = {
116549 "type": "CountPattern",
116550 "metadata": {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected