stdlib-js

stdlib-js/assert-is-regexp-string

Test if a value is a regular expression string.

JavaScript
2
0
Apache License 2.0

This project provides a function to test if a value is a regular expression string, returning true for strings like "/beep/" or "/beep/gim" and false for non-regex strings or other types. It's part of stdlib, a standard library for JavaScript focused on numerical and scientific computing, and is intended for developers who need to validate regular expression strings in their applications.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of stdlib-js/assert-is-regexp-string

Account's avatar
Test if a value is a string.
Account's avatar
Command-line interface.
Account's avatar
Read the entire contents of a file.
Account's avatar
Read data from stdin.
Account's avatar
Return a regular expression to match a newline character sequence.
Account's avatar
Return a regular expression to parse a regular expression string.
Account's avatar
Create a regular expression from a regular expression string.
Account's avatar
Test if a value is a boolean.
Account's avatar
Check if the runtime is a web browser.
Account's avatar
Boolean indicating if the current process is running on Windows.
Account's avatar
Absolute pathname of the executable which started the current Node.js process.
Account's avatar
Replace search occurrences with a replacement string.
Account's avatar
tap-producing test harness for node and browsers
Account's avatar
Proxies nodejs require in order to allow overriding dependencies during testing.
Account's avatar
Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use ca
Account's avatar
Minimal TAP output formatter.
Account's avatar
Benchmark harness.

Support the repos that depend on this repository

Top contributors

stdlib-bot's profile
stdlib-bot
87 contributions
Planeshifter's profile
Planeshifter
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet