On 04/24/2017 04:25 AM, Tobias Boege wrote:
> You can still get greedy quantifiers by using ungreedy ones in your
> pattern...
LOL. To get ungreedy behavior, use greedy quantifiers. That's logical.
Thank you very much, Tobi, for digging that up and updating the documentation.
Perhaps, though, m
On Mon, 24 Apr 2017, Tobias Boege wrote:
> On Sun, 23 Apr 2017, T Lee Davidson wrote:
> > According to http://gambaswiki.org/wiki/doc/pcre , using "*?" in a regular
> > expression should lazily match 0 or more characters. However, it appears to
> > act greedily.
> >
> > I am trying to do some very
On Sun, 23 Apr 2017, T Lee Davidson wrote:
> According to http://gambaswiki.org/wiki/doc/pcre , using "*?" in a regular
> expression should lazily match 0 or more characters. However, it appears to
> act greedily.
>
> I am trying to do some very simple HTML tag stripping with
> 'Regex.Replace(sTex
According to http://gambaswiki.org/wiki/doc/pcre , using "*?" in a regular expression should lazily match 0 or more characters.
However, it appears to act greedily.
I am trying to do some very simple HTML tag stripping with 'Regex.Replace(sText, "<.*?>", "")', and it takes out way more than
jus