Liking cljdoc? Tell your friends :D

js.RegExp

The RegExp constructor creates a regular expression object for text with a pattern.

The RegExp constructor creates a regular expression object for
text with a pattern.
raw docstring

compilecljs

(compile this pattern flags)

Method.

[Deprecated]

The deprecated compile() method is used to (re-)compile a regular during execution of a script. It is basically the same as the constructor.

regexObj.compile(pattern, flags)

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/compile

Method.

[Deprecated]

The deprecated compile() method is used to (re-)compile a regular
during execution of a script. It is basically the same as the
constructor.

`regexObj.compile(pattern, flags)`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/compile`
sourceraw docstring

dot-allcljs

(dot-all this)

Property.

[Read Only] [Draft]

The dotAll property indicates whether or not the "s" flag is with the regular expression. dotAll is a read-only property of individual regular expression instance.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/dotAll

Property.

[Read Only]
[Draft]

The dotAll property indicates whether or not the \"s\" flag is
with the regular expression. dotAll is a read-only property of
individual regular expression instance.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/dotAll`
sourceraw docstring

execcljs

(exec this str)

Method.

The exec() method executes a search for a match in a specified Returns a result array, or js.null.

regexObj.exec(str)

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/exec

Method.

The exec() method executes a search for a match in a specified
Returns a result array, or `js.null`.

`regexObj.exec(str)`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/exec`
sourceraw docstring

flagscljs

(flags this)

Property.

The flags property returns a string consisting of the flags of current regular expression object.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/flags

Property.

The flags property returns a string consisting of the flags of
current regular expression object.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/flags`
sourceraw docstring

globalcljs

(global this)

Property.

[Read Only]

The global property indicates whether or not the "g" flag is with the regular expression. global is a read-only property of individual regular expression instance.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/global

Property.

[Read Only]

The global property indicates whether or not the \"g\" flag is
with the regular expression. global is a read-only property of
individual regular expression instance.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/global`
sourceraw docstring

ignore-casecljs

(ignore-case this)

Property.

[Read Only]

The ignoreCase property indicates whether or not the "i" flag used with the regular expression. ignoreCase is a read-only property an individual regular expression instance.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/ignoreCase

Property.

[Read Only]

The ignoreCase property indicates whether or not the \"i\" flag
used with the regular expression. ignoreCase is a read-only property
an individual regular expression instance.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/ignoreCase`
sourceraw docstring

inputcljs

(input this)

Property.

[Non Standard]

The non-standard input property is a static property of regular that contains the string against which a regular expression is RegExp.$_ is an alias for this property.

RegExp.input RegExp.$_

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/input

Property.

[Non Standard]

The non-standard input property is a static property of regular
that contains the string against which a regular expression is
RegExp.$_ is an alias for this property.

`RegExp.input
RegExp.$_`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/input`
sourceraw docstring

last-indexcljs

(last-index this)

Property.

The lastIndex is a read/write integer property of regular expression that specifies the index at which to start the next match.

regExpObj.lastIndex

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/lastIndex

Property.

The lastIndex is a read/write integer property of regular expression
that specifies the index at which to start the next match.

`regExpObj.lastIndex`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/lastIndex`
sourceraw docstring

last-matchcljs

(last-match this)

Property.

[Read Only] [Non Standard]

The non-standard lastMatch property is a static and read-only of regular expressions that contains the last matched characters. is an alias for this property.

RegExp.lastMatch RegExp['$&']

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/lastMatch

Property.

[Read Only]
[Non Standard]

The non-standard lastMatch property is a static and read-only
of regular expressions that contains the last matched characters.
is an alias for this property.

`RegExp.lastMatch
RegExp['$&']`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/lastMatch`
sourceraw docstring

last-parencljs

(last-paren this)

Property.

[Read Only] [Non Standard]

The non-standard lastParen property is a static and read-only of regular expressions that contains the last parenthesized substring if any. RegExp.$+ is an alias for this property.

RegExp.lastParen RegExp['$+']

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/lastParen

Property.

[Read Only]
[Non Standard]

The non-standard lastParen property is a static and read-only
of regular expressions that contains the last parenthesized substring
if any. RegExp.$+ is an alias for this property.

`RegExp.lastParen
RegExp['$+']`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/lastParen`
sourceraw docstring

left-contextcljs

(left-context this)

Property.

[Read Only] [Non Standard]

The non-standard leftContext property is a static and read-only of regular expressions that contains the substring preceding most recent match. RegExp.$` is an alias for this property.

RegExp.leftContext RegExp['$']`

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/leftContext

Property.

[Read Only]
[Non Standard]

The non-standard leftContext property is a static and read-only
of regular expressions that contains the substring preceding
most recent match. RegExp.$` is an alias for this property.

`RegExp.leftContext
RegExp['$`']`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/leftContext`
sourceraw docstring

lengthcljs

(length this)

Property.

The value of RegExp.length is 2.

Property.

The value of RegExp.length is 2.
sourceraw docstring

multilinecljs

(multiline this)

Property.

[Read Only]

The multiline property indicates whether or not the "m" flag used with the regular expression. multiline is a read-only property an individual regular expression instance.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/multiline

Property.

[Read Only]

The multiline property indicates whether or not the \"m\" flag
used with the regular expression. multiline is a read-only property
an individual regular expression instance.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/multiline`
sourceraw docstring

prototypecljs

(prototype this)

Property.

The RegExp.prototype property represents the prototype object the js.RegExp constructor.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/prototype

Property.

The RegExp.prototype property represents the prototype object
the `js.RegExp` constructor.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/prototype`
sourceraw docstring

right-contextcljs

(right-context this)

Property.

[Read Only] [Non Standard]

The non-standard rightContext property is a static and read-only of regular expressions that contains the substring following most recent match. RegExp.$' is an alias for this property.

RegExp.rightContext RegExp[\"$'\"]

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/rightContext

Property.

[Read Only]
[Non Standard]

The non-standard rightContext property is a static and read-only
of regular expressions that contains the substring following
most recent match. RegExp.$' is an alias for this property.

`RegExp.rightContext
RegExp[\"$'\"]`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/rightContext`
sourceraw docstring

set-flags!cljs

(set-flags! this val)

Property.

The flags property returns a string consisting of the flags of current regular expression object.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/flags

Property.

The flags property returns a string consisting of the flags of
current regular expression object.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/flags`
sourceraw docstring

set-input!cljs

(set-input! this val)

Property.

[Non Standard]

The non-standard input property is a static property of regular that contains the string against which a regular expression is RegExp.$_ is an alias for this property.

RegExp.input RegExp.$_

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/input

Property.

[Non Standard]

The non-standard input property is a static property of regular
that contains the string against which a regular expression is
RegExp.$_ is an alias for this property.

`RegExp.input
RegExp.$_`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/input`
sourceraw docstring

set-last-index!cljs

(set-last-index! this val)

Property.

The lastIndex is a read/write integer property of regular expression that specifies the index at which to start the next match.

regExpObj.lastIndex

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/lastIndex

Property.

The lastIndex is a read/write integer property of regular expression
that specifies the index at which to start the next match.

`regExpObj.lastIndex`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/lastIndex`
sourceraw docstring

set-length!cljs

(set-length! this val)

Property.

The value of RegExp.length is 2.

Property.

The value of RegExp.length is 2.
sourceraw docstring

set-prototype!cljs

(set-prototype! this val)

Property.

The RegExp.prototype property represents the prototype object the js.RegExp constructor.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/prototype

Property.

The RegExp.prototype property represents the prototype object
the `js.RegExp` constructor.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/prototype`
sourceraw docstring

set-source!cljs

(set-source! this val)

Property.

The source property returns a js.String containing the source of the regexp object, and it doesn't contain the two forward on both sides and any flags.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/source

Property.

The source property returns a `js.String` containing the source
of the regexp object, and it doesn't contain the two forward
on both sides and any flags.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/source`
sourceraw docstring

sourcecljs

(source this)

Property.

The source property returns a js.String containing the source of the regexp object, and it doesn't contain the two forward on both sides and any flags.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/source

Property.

The source property returns a `js.String` containing the source
of the regexp object, and it doesn't contain the two forward
on both sides and any flags.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/source`
sourceraw docstring

stickycljs

(sticky this)

Property.

[Read Only]

The sticky property reflects whether or not the search is sticky in strings only from the index indicated by the lastIndex property this regular expression). sticky is a read-only property of an regular expression object.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/sticky

Property.

[Read Only]

The sticky property reflects whether or not the search is sticky
in strings only from the index indicated by the `lastIndex` property
this regular expression). sticky is a read-only property of an
regular expression object.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/sticky`
sourceraw docstring

testcljs

(test this str)

Method.

The test() method executes a search for a match between a regular and a specified string. Returns true or false.

regexObj.test(str)

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test

Method.

The test() method executes a search for a match between a regular
and a specified string. Returns true or false.

`regexObj.test(str)`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test`
sourceraw docstring

to-sourcecljs

(to-source this)

Method.

[Non Standard]

The toSource() method returns a string representing the source of the object.

regexObj.toSource()

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/toSource

Method.

[Non Standard]

The toSource() method returns a string representing the source
of the object.

`regexObj.toSource()`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/toSource`
sourceraw docstring

to-stringcljs

(to-string this)

Method.

The toString() method returns a string representing the regular

regexObj.toString();

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/toString

Method.

The toString() method returns a string representing the regular

`regexObj.toString();`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/toString`
sourceraw docstring

unicodecljs

(unicode this)

Property.

[Read Only]

The unicode property indicates whether or not the "u" flag used with a regular expression. unicode is a read-only property an individual regular expression instance.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/unicode

Property.

[Read Only]

The unicode property indicates whether or not the \"u\" flag
used with a regular expression. unicode is a read-only property
an individual regular expression instance.

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/unicode`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close