mirror of
https://github.com/denoland/deno.git
synced 2025-01-10 16:11:13 -05:00
chore(std/encoding): disable no-control-regex
(#7219)
This commit is contained in:
parent
672350b206
commit
beec3ae096
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ const CHOMPING_STRIP = 2;
|
|||
const CHOMPING_KEEP = 3;
|
||||
|
||||
const PATTERN_NON_PRINTABLE =
|
||||
// deno-lint-ignore no-control-regex
|
||||
/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
|
||||
const PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
|
||||
const PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/;
|
||||
|
|
Loading…
Reference in a new issue