[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regex matching summary blocks in C#

From: Samvid Mistry
Subject: Re: Regex matching summary blocks in C#
Date: Sun, 03 Dec 2023 19:49:06 +0530
User-agent: mu4e 1.10.7; emacs 29.1

Yuri Khan <> writes:

> You have a *? iterator around your second group, so only one line is
> captured. I’d try making the sub-regex that matches a single line into
> a non-capturing group, then putting a capturing group around the
> iterator:
>     \\(\\(?:.*\n\\)*?\\)

IIUC, you are suggesting I do this


That doesn't seem to change anything.

> (BTW what is your plan after you get the whole inside of the <summary>
> in a single group? Your description makes it look like you’re going to
> want to do something to display /// as //.)

I'm removing the <(/)summary> tags from view. There are other ceremonies
like documentation for parameters and return values, which I'm
also planning to simplify. It is partly for aesthetics and partly for me
to try my hand at overlays.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]