From 25c90001f4d49d44bc81dc38555ee9b5f2285eff Mon Sep 17 00:00:00 2001 From: Parkreiner Date: Thu, 27 Jun 2024 17:28:13 +0000 Subject: [PATCH] docs: add comment about how regex is set up --- windows-rdp/main.test.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/windows-rdp/main.test.ts b/windows-rdp/main.test.ts index 16703e3..0a1452e 100644 --- a/windows-rdp/main.test.ts +++ b/windows-rdp/main.test.ts @@ -61,6 +61,12 @@ describe("Web RDP", async () => { * text to universal JSON text, and exposing it as a parsed JSON value. That * got to be a bit too much, though. * + * Regex is a little bit more verbose and pedantic than normal. Want to + * have some basic safety nets for validating the structure of the form + * entries variable after the JS file has had values injected. Really do + * not want the wildcard classes to overshoot and grab too much content, + * even if they're all set to lazy mode. + * * Written and tested via Regex101 * @see {@link https://regex101.com/r/UMgQpv/2} */