Skip to content

Commit ee56e80

Browse files
committed
Document no escape needed for regexps.
Fixes #5524
1 parent 2bdf186 commit ee56e80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- `*` `bsconfig.json` does not support // line comments anymore
66
- `*` Externals without `@val` annotations do not work anymore, and externals with `= ""` give an error.
7+
- `*` Regular expressions don't need escaping. E.g. `let blockCommentsRe = %re("/\\/\\*([^*]|[\\r\\n]|(\\*+([^*/]|[\\r\\n])))*\\*+\\//g")` is now `let blockCommentsRe = %re("/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\//g")`.
78

89
# 10.0.0-alpha.1
910

0 commit comments

Comments
 (0)