diff --git a/lib/node_modules/@stdlib/regexp/whitespace/README.md b/lib/node_modules/@stdlib/regexp/whitespace/README.md index 6ee0e1afc4af..0adb25142d76 100644 --- a/lib/node_modules/@stdlib/regexp/whitespace/README.md +++ b/lib/node_modules/@stdlib/regexp/whitespace/README.md @@ -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