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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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

multilinecljs

(multiline this)

Property.

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.

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.

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.

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-dot-all!cljs

(set-dot-all! this val)

Property.

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.

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

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-global!cljs

(set-global! this val)

Property.

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.

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

set-ignore-case!cljs

(set-ignore-case! this val)

Property.

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.

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

set-input!cljs

(set-input! this val)

Property.

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.

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-multiline!cljs

(set-multiline! this val)

Property.

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.

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

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

set-sticky!cljs

(set-sticky! this val)

Property.

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.

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

set-unicode!cljs

(set-unicode! this val)

Property.

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.

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

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.

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.

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.

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.

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.

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.

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