@snailicide/g-library
Preparing search index...
index
regexp
getRegExpTrim
Function getRegExpTrim
getRegExpTrim
(
_value
:
string
|
string
[]
,
flag
?:
|
undefined
|
"dotAll"
|
"global"
|
"ignoreCase"
|
"multiline"
|
"sticky"
|
"unicode"
|
(
|
"dotAll"
|
"global"
|
"ignoreCase"
|
"multiline"
|
"sticky"
|
"unicode"
)
[]
,
)
:
RegExp
Turn a string or strings into a regexp to trim the start and finish
Parameters
_value
:
string
|
string
[]
flag
:
|
undefined
|
"dotAll"
|
"global"
|
"ignoreCase"
|
"multiline"
|
"sticky"
|
"unicode"
|
(
"dotAll"
|
"global"
|
"ignoreCase"
|
"multiline"
|
"sticky"
|
"unicode"
)
[]
= 'global'
Returns
RegExp
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@snailicide/g-library
Loading...
Turn a string or strings into a regexp to trim the start and finish