From b682105faec7507504218faebb1846362ecf965c Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Wed, 19 Jun 2019 15:36:26 -0600 Subject: [PATCH] WIP new regexp package and functions --- .../reference/flux/functions/regexp/_index.md | 22 ++++++++++++ .../flux/functions/regexp/compile.md | 34 +++++++++++++++++++ .../flux/functions/regexp/findstring.md | 34 +++++++++++++++++++ .../flux/functions/regexp/findstringindex.md | 34 +++++++++++++++++++ .../flux/functions/regexp/getstring.md | 34 +++++++++++++++++++ .../functions/regexp/matchregexpstring.md | 34 +++++++++++++++++++ .../flux/functions/regexp/quotemeta.md | 34 +++++++++++++++++++ .../flux/functions/regexp/replaceallstring.md | 34 +++++++++++++++++++ .../flux/functions/regexp/splitregexp.md | 34 +++++++++++++++++++ 9 files changed, 294 insertions(+) create mode 100644 content/v2.0/reference/flux/functions/regexp/_index.md create mode 100644 content/v2.0/reference/flux/functions/regexp/compile.md create mode 100644 content/v2.0/reference/flux/functions/regexp/findstring.md create mode 100644 content/v2.0/reference/flux/functions/regexp/findstringindex.md create mode 100644 content/v2.0/reference/flux/functions/regexp/getstring.md create mode 100644 content/v2.0/reference/flux/functions/regexp/matchregexpstring.md create mode 100644 content/v2.0/reference/flux/functions/regexp/quotemeta.md create mode 100644 content/v2.0/reference/flux/functions/regexp/replaceallstring.md create mode 100644 content/v2.0/reference/flux/functions/regexp/splitregexp.md diff --git a/content/v2.0/reference/flux/functions/regexp/_index.md b/content/v2.0/reference/flux/functions/regexp/_index.md new file mode 100644 index 000000000..ffa655849 --- /dev/null +++ b/content/v2.0/reference/flux/functions/regexp/_index.md @@ -0,0 +1,22 @@ +--- +title: Flux regular expressions package +list_title: Regular expressions package +description: > + The Flux regular expressions package includes functions that provide enhance + regular expression functionality. Import the `regexp` package. +menu: + v2_0_ref: + name: Regular expressions + parent: Flux packages and functions +weight: 205 +v2.0/tags: [regex, functions] +--- + +The Flux regular expressions package includes functions that provide enhance +regular expression functionality. Import the `regexp` package. + +```js +import "regexp" +``` + +{{< children type="functions" show="pages" >}} diff --git a/content/v2.0/reference/flux/functions/regexp/compile.md b/content/v2.0/reference/flux/functions/regexp/compile.md new file mode 100644 index 000000000..72b476d80 --- /dev/null +++ b/content/v2.0/reference/flux/functions/regexp/compile.md @@ -0,0 +1,34 @@ +--- +title: regexp.compile() function +description: The `regexp.compile()` function ... +menu: + v2_0_ref: + name: regexp.compile + parent: Regular expressions +weight: 301 +--- + +The `regexp.compile()` function ... + +_**Output data type:** String_ + +```js +import "regexp" + +regexp.compile() +``` + +## Parameters + +### v +Desc + +_**Data type:** String_ + +## Examples + +###### ... +```js +import "regexp" + +``` diff --git a/content/v2.0/reference/flux/functions/regexp/findstring.md b/content/v2.0/reference/flux/functions/regexp/findstring.md new file mode 100644 index 000000000..4a3f40e65 --- /dev/null +++ b/content/v2.0/reference/flux/functions/regexp/findstring.md @@ -0,0 +1,34 @@ +--- +title: regexp.findString() function +description: The `regexp.findString()` function ... +menu: + v2_0_ref: + name: regexp.findString + parent: Regular expressions +weight: 301 +--- + +The `regexp.findString()` function ... + +_**Output data type:** String_ + +```js +import "regexp" + +regexp.findString() +``` + +## Parameters + +### v +Desc + +_**Data type:** String_ + +## Examples + +###### ... +```js +import "regexp" + +``` diff --git a/content/v2.0/reference/flux/functions/regexp/findstringindex.md b/content/v2.0/reference/flux/functions/regexp/findstringindex.md new file mode 100644 index 000000000..16557aa00 --- /dev/null +++ b/content/v2.0/reference/flux/functions/regexp/findstringindex.md @@ -0,0 +1,34 @@ +--- +title: regexp.findStringIndex() function +description: The `regexp.findStringIndex()` function ... +menu: + v2_0_ref: + name: regexp.findStringIndex + parent: Regular expressions +weight: 301 +--- + +The `regexp.findStringIndex()` function ... + +_**Output data type:** String_ + +```js +import "regexp" + +regexp.findStringIndex() +``` + +## Parameters + +### v +Desc + +_**Data type:** String_ + +## Examples + +###### ... +```js +import "regexp" + +``` diff --git a/content/v2.0/reference/flux/functions/regexp/getstring.md b/content/v2.0/reference/flux/functions/regexp/getstring.md new file mode 100644 index 000000000..b145ee566 --- /dev/null +++ b/content/v2.0/reference/flux/functions/regexp/getstring.md @@ -0,0 +1,34 @@ +--- +title: regexp.getString() function +description: The `regexp.getString()` function ... +menu: + v2_0_ref: + name: regexp.getString + parent: Regular expressions +weight: 301 +--- + +The `regexp.getString()` function ... + +_**Output data type:** String_ + +```js +import "regexp" + +regexp.getString() +``` + +## Parameters + +### v +Desc + +_**Data type:** String_ + +## Examples + +###### ... +```js +import "regexp" + +``` diff --git a/content/v2.0/reference/flux/functions/regexp/matchregexpstring.md b/content/v2.0/reference/flux/functions/regexp/matchregexpstring.md new file mode 100644 index 000000000..51a8cb6c1 --- /dev/null +++ b/content/v2.0/reference/flux/functions/regexp/matchregexpstring.md @@ -0,0 +1,34 @@ +--- +title: regexp.matchRegexpString() function +description: The `regexp.matchRegexpString()` function ... +menu: + v2_0_ref: + name: regexp.matchRegexpString + parent: Regular expressions +weight: 301 +--- + +The `regexp.matchRegexpString()` function ... + +_**Output data type:** String_ + +```js +import "regexp" + +regexp.matchRegexpString() +``` + +## Parameters + +### v +Desc + +_**Data type:** String_ + +## Examples + +###### ... +```js +import "regexp" + +``` diff --git a/content/v2.0/reference/flux/functions/regexp/quotemeta.md b/content/v2.0/reference/flux/functions/regexp/quotemeta.md new file mode 100644 index 000000000..27b354da8 --- /dev/null +++ b/content/v2.0/reference/flux/functions/regexp/quotemeta.md @@ -0,0 +1,34 @@ +--- +title: regexp.quoteMeta() function +description: The `regexp.quoteMeta()` function ... +menu: + v2_0_ref: + name: regexp.quoteMeta + parent: Regular expressions +weight: 301 +--- + +The `regexp.quoteMeta()` function ... + +_**Output data type:** String_ + +```js +import "regexp" + +regexp.quoteMeta() +``` + +## Parameters + +### v +Desc + +_**Data type:** String_ + +## Examples + +###### ... +```js +import "regexp" + +``` diff --git a/content/v2.0/reference/flux/functions/regexp/replaceallstring.md b/content/v2.0/reference/flux/functions/regexp/replaceallstring.md new file mode 100644 index 000000000..d5a745ade --- /dev/null +++ b/content/v2.0/reference/flux/functions/regexp/replaceallstring.md @@ -0,0 +1,34 @@ +--- +title: regexp.replaceAllString() function +description: The `regexp.replaceAllString()` function ... +menu: + v2_0_ref: + name: regexp.replaceAllString + parent: Regular expressions +weight: 301 +--- + +The `regexp.replaceAllString()` function ... + +_**Output data type:** String_ + +```js +import "regexp" + +regexp.replaceAllString() +``` + +## Parameters + +### v +Desc + +_**Data type:** String_ + +## Examples + +###### ... +```js +import "regexp" + +``` diff --git a/content/v2.0/reference/flux/functions/regexp/splitregexp.md b/content/v2.0/reference/flux/functions/regexp/splitregexp.md new file mode 100644 index 000000000..6338be78f --- /dev/null +++ b/content/v2.0/reference/flux/functions/regexp/splitregexp.md @@ -0,0 +1,34 @@ +--- +title: regexp.splitRegexp() function +description: The `regexp.splitRegexp()` function ... +menu: + v2_0_ref: + name: regexp.splitRegexp + parent: Regular expressions +weight: 301 +--- + +The `regexp.splitRegexp()` function ... + +_**Output data type:** String_ + +```js +import "regexp" + +regexp.splitRegexp() +``` + +## Parameters + +### v +Desc + +_**Data type:** String_ + +## Examples + +###### ... +```js +import "regexp" + +```