[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Regex matching summary blocks in C#
From: |
Yuri Khan |
Subject: |
Re: Regex matching summary blocks in C# |
Date: |
Sun, 3 Dec 2023 21:30:01 +0700 |
On Sun, 3 Dec 2023 at 21:23, Samvid Mistry <mistrysamvid@gmail.com> wrote:
> > \\(\\(?:.*\n\\)*?\\)
>
> IIUC, you are suggesting I do this
>
> "\\(\\s-*\\)///\\s-*<summary>\\s-*\n\\(\\(:?.*\n\\)*?\\)\\s-*///\\s-*</summary>"
\\(?:, not \\(:? . The former marks the group as non-capturing. The
latter introduces a capturing group starting with a colon.