mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-21 21:30:47 +02:00
10 lines
286 B
JavaScript
10 lines
286 B
JavaScript
// @ts-check
|
|
|
|
"use strict";
|
|
|
|
// Regular expression for matching common newline characters
|
|
// See NEWLINES_RE in markdown-it/lib/rules_core/normalize.js
|
|
module.exports.newLineRe = /\r\n?|\n/g;
|
|
|
|
// Regular expression for matching next lines
|
|
module.exports.nextLinesRe = /[\r\n][\s\S]*$/;
|