<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">On Mar 4, 2024, at 10:43 AM, Rich Salz <rich.salz@gmail.com> wrote:</div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 4, 2024 at 12:05 PM Will Senn <<a href="mailto:will.senn@gmail.com">will.senn@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>

  
    
  
  <div>
    <div>ranges bounded by regexes... who'd of thunk it?</div></div></blockquote><div><br></div><div>Go read about the Rob Pike's sam editor (such as <a href="http://doc.cat-v.org/plan_9/4th_edition/papers/sam/">http://doc.cat-v.org/plan_9/4th_edition/papers/sam/</a>) and prepare to have your mind blown :)<br></div></div></div>
</div></blockquote><br><div>Also read Rob’s Structured Regular Expressions paper which has more details on using REs for describing the *structure* of a piece of text rather than its content: <a href="https://doc.cat-v.org/bell_labs/structural_regexps/se.pdf">https://doc.cat-v.org/bell_labs/structural_regexps/se.pdf</a></div><div><div style="display: block;" class=""><br></div></div></body></html>