WIP new regexp package and functions
parent
789fa32b4a
commit
b682105fae
|
@ -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" >}}
|
|
@ -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"
|
||||||
|
|
||||||
|
```
|
|
@ -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"
|
||||||
|
|
||||||
|
```
|
|
@ -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"
|
||||||
|
|
||||||
|
```
|
|
@ -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"
|
||||||
|
|
||||||
|
```
|
|
@ -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"
|
||||||
|
|
||||||
|
```
|
|
@ -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"
|
||||||
|
|
||||||
|
```
|
|
@ -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"
|
||||||
|
|
||||||
|
```
|
|
@ -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"
|
||||||
|
|
||||||
|
```
|
Loading…
Reference in New Issue