updated flux function json to be prettier

pull/14220/head
Scott Anderson 2019-06-27 12:23:25 -06:00
parent 86686b9f0e
commit 836c1d84b0
1 changed files with 3 additions and 6 deletions

View File

@ -2405,14 +2405,12 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
}, },
{ {
name: 'v', name: 'v',
desc: desc: 'The string value to search.',
'The string value to search.',
type: 'String', type: 'String',
}, },
], ],
package: 'regexp', package: 'regexp',
desc: desc: 'Returns the left-most regular expression match in a string.',
'Returns the left-most regular expression match in a string.',
example: 'regexp.findString(r: /foo.?/, v: "seafood fool")', example: 'regexp.findString(r: /foo.?/, v: "seafood fool")',
category: 'Transformations', category: 'Transformations',
link: link:
@ -2428,8 +2426,7 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
}, },
{ {
name: 'v', name: 'v',
desc: desc: 'The string value to search.',
'The string value to search.',
type: 'String', type: 'String',
}, },
], ],