diff --git a/src/rules/no-html.js b/src/rules/no-html.js
index 2d25932b..68446e6c 100644
--- a/src/rules/no-html.js
+++ b/src/rules/no-html.js
@@ -3,6 +3,12 @@
* @author Nicholas C. Zakas
*/
+//-----------------------------------------------------------------------------
+// Imports
+//-----------------------------------------------------------------------------
+
+import { lineEndingPattern } from "../util.js";
+
//-----------------------------------------------------------------------------
// Type Definitions
//-----------------------------------------------------------------------------
@@ -20,7 +26,6 @@
const htmlTagPattern =
/<(?[a-z0-9]+(?:-[a-z0-9]+)*)(?:\s(?:[^>"']|"[^"]*"|'[^']*')*)?>/giu;
-const lineEndingPattern = /\r\n?|\n/u;
//-----------------------------------------------------------------------------
// Rule Definition
diff --git a/src/rules/no-reference-like-urls.js b/src/rules/no-reference-like-urls.js
index a151abe3..716a438b 100644
--- a/src/rules/no-reference-like-urls.js
+++ b/src/rules/no-reference-like-urls.js
@@ -27,7 +27,7 @@ import { normalizeIdentifier } from "micromark-util-normalize-identifier";
/** Pattern to match both inline links: `[text](url)` and images: ``, with optional title */
const linkOrImagePattern =
- /(?!)?\[(?