(text, tcase, match)
| 89337 | }; |
| 89338 | |
| 89339 | function tokenize(text, tcase, match) { |
| 89340 | switch (tcase) { |
| 89341 | case 'upper': |
| 89342 | text = text.toUpperCase(); |
| 89343 | break; |
| 89344 | |
| 89345 | case 'lower': |
| 89346 | text = text.toLowerCase(); |
| 89347 | break; |
| 89348 | } |
| 89349 | |
| 89350 | return text.match(match); |
| 89351 | } |
| 89352 | |
| 89353 | var prototype = (0, _vegaUtil.inherits)(CountPattern, _vegaDataflow.Transform); |
| 89354 |