Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/node_modules/@stdlib/regexp/whitespace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ var out = replace( str, reWhitespace.REGEXP_CAPTURE, '$1$1' );

- Matches one related white space character without the Unicode character property "WSpace=Y" (zero width non-breaking space which was deprecated as of Unicode 3.2).

**Difference from ECMAScript's `\s`:**
- Unlike ECMAScript's `\s`, `@stdlib/regexp/whitespace` treats the NEL character (`\u0085`) as whitespace. This difference arises because `@stdlib/regexp/whitespace` aligns with Unicode's definition of whitespace, while ECMAScript's `\s` does not include all Unicode whitespace characters.


- The `REGEXP` regular expression is defined as

```text
Expand Down
Loading