Skip to content

Commit

Permalink
chore(std/encoding): disable no-control-regex (denoland#7219)
Browse files Browse the repository at this point in the history
  • Loading branch information
magurotuna committed Aug 27, 2020
1 parent 672350b commit beec3ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions std/encoding/_yaml/loader/loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = /[,\[\]\{\}]/;
Expand Down

0 comments on commit beec3ae

Please sign in to comment.