Organise text utils

This commit is contained in:
Dominik Prokop 2019-09-16 18:15:59 +02:00
parent 75498dbda6
commit 676f8ea6c3
10 changed files with 5 additions and 4 deletions

View File

@ -4,3 +4,4 @@ export * from './vector';
export * from './dataframe';
export * from './transformations';
export * from './datetime';
export * from './text';

View File

@ -0,0 +1,3 @@
export * from './string';
export * from './markdown';
export * from './text';

View File

@ -1,7 +1,7 @@
import { Field, DataFrame } from '../../types/dataFrame';
import { FieldMatcherID, FrameMatcherID } from './ids';
import { FieldMatcherInfo, FrameMatcherInfo } from '../../types/transformations';
import { stringToJsRegex } from '../../utils/string';
import { stringToJsRegex } from '../../text/string';
// General Field matcher
const fieldNameMacher: FieldMatcherInfo<string> = {

View File

@ -1,6 +1,4 @@
export * from './string';
export * from './registry';
export * from './markdown';
export * from './deprecationWarning';
export * from './csv';
export * from './fieldReducer';
@ -9,6 +7,5 @@ export * from './labels';
export * from './labels';
export * from './object';
export * from './thresholds';
export * from './text';
export { getMappedValue } from './valueMappings';