Skip to content

Commit ac4d7cd

Browse files
updated the docs with difference between the whitespace and /s
1 parent 1d10ce5 commit ac4d7cd

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ Desktop.ini
9696
# Node.js #
9797
###########
9898
/node_modules/
99+
node_modules
99100
lib/node_modules/**/node_modules/
100101
docs/**/node_modules/
101102
pids

docs/style-guides/javascript/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ Hopefully, most of the conventions outlined below will help enable you to do so.
7373

7474
- Even if you must use spaces, **never** mix tabs and spaces. This is formatting hell, as a simple find-and-replace is useless in the face of such chaos.
7575

76+
- For developers using the `@stdlib/regexp/whitespace` utility, note that it treats the NEL Unicode character (`\u0085`) as whitespace, unlike ECMAScript's `\s`. This may cause discrepancies in whitespace-sensitive code.
77+
7678
##### Enforcement
7779

7880
This project contains an [`.editorconfig`][editorconfig] file to be used in conjunction with IDE and/or browser plugins.

0 commit comments

Comments
 (0)