All Projects → regexhq → Whitespace Regex

regexhq / Whitespace Regex

Licence: mit
Regular expression for matching the whitespace in a string.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Whitespace Regex

Commonregex
🍫 A collection of common regular expressions for Go
Stars: ✭ 733 (+8044.44%)
Mutual labels:  regex, regular-expression
Shallow Clone
Make a shallow clone of an object, array or primitive.
Stars: ✭ 23 (+155.56%)
Mutual labels:  regex, regular-expression
Anymatch
‼️ Matches strings against configurable strings, globs, regular expressions, and/or functions
Stars: ✭ 289 (+3111.11%)
Mutual labels:  regex, regular-expression
pcre-net
PCRE.NET - Perl Compatible Regular Expressions for .NET
Stars: ✭ 114 (+1166.67%)
Mutual labels:  regex, regular-expression
Regexplain
🔍 An RStudio addin slash regex utility belt
Stars: ✭ 413 (+4488.89%)
Mutual labels:  regex, regular-expression
Re Flex
The regex-centric, fast lexical analyzer generator for C++ with full Unicode support. Faster than Flex. Accepts Flex specifications. Generates reusable source code that is easy to understand. Introduces indent/dedent anchors, lazy quantifiers, functions for lex/syntax error reporting, and more. Seamlessly integrates with Bison and other parsers.
Stars: ✭ 274 (+2944.44%)
Mutual labels:  regex, regular-expression
Generex
A Java library for generating String from a regular expression.
Stars: ✭ 316 (+3411.11%)
Mutual labels:  regex, regular-expression
hex-color-regex
Regular expression for matching hex color values from string.
Stars: ✭ 29 (+222.22%)
Mutual labels:  regex, regular-expression
Picomatch
Blazing fast and accurate glob matcher written JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.
Stars: ✭ 393 (+4266.67%)
Mutual labels:  regex, regular-expression
Regexp2
A full-featured regex engine in pure Go based on the .NET engine
Stars: ✭ 389 (+4222.22%)
Mutual labels:  regex, regular-expression
Guitar
A Cross-Platform String and Regular Expression Library written in Swift.
Stars: ✭ 641 (+7022.22%)
Mutual labels:  regex, regular-expression
Regulex
🚧 Regular Expression Excited!
Stars: ✭ 4,877 (+54088.89%)
Mutual labels:  regex, regular-expression
extglob
Extended globs. Add (almost) the expressive power of regular expressions to glob patterns.
Stars: ✭ 25 (+177.78%)
Mutual labels:  regex, regular-expression
Rex
Your RegEx companion.
Stars: ✭ 283 (+3044.44%)
Mutual labels:  regex, regular-expression
genex
Genex package for Go
Stars: ✭ 64 (+611.11%)
Mutual labels:  regex, regular-expression
Regex
Regular expressions for swift
Stars: ✭ 306 (+3300%)
Mutual labels:  regex, regular-expression
pamatcher
A pattern matching library for JavaScript iterators
Stars: ✭ 23 (+155.56%)
Mutual labels:  regex, regular-expression
regex-cache
Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in dramatic speed improvements.
Stars: ✭ 39 (+333.33%)
Mutual labels:  regex, regular-expression
Minta
✳️  Electron app for generating regular expressions
Stars: ✭ 353 (+3822.22%)
Mutual labels:  regex, regular-expression
Chinamobilephonenumberregex
Regular expressions that match the mobile phone number in mainland China. / 一组匹配中国大陆手机号码的正则表达式。
Stars: ✭ 4,440 (+49233.33%)
Mutual labels:  regex, regular-expression

whitespace-regex NPM version

Regular expression for matching the whitespace in a string.

Install

Install with npm

$ npm i whitespace-regex --save

Usage

var regex = require('whitespace-regex')();

regex.test('      foo    ');
//=> false

regex.test('             ');
//=> true

Other regex projects

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on September 22, 2015.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].