🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #285047

Re: Regex help

#285047
From: Fritz Wuehler
Date: Fri, 30 Sep 2016 19:11
8 lines
949 bytes
nobody@dizum.com (Nomen Nescio) wrote:
> > /^From:([^<]*)<[^>]*> (<.*>)$/From:$1 $2/
> From: My Name <something> <myname@foo.bar> => From: My Name <myname@foo.bar>

I'm not very much in to RegEx... is there an advantage for
"[^>]*>"
instead of
".*?>"
Technical Details
Message-ID: <ea9f00590b8773eb129789e536b19fa1@msgid.frell.theremailer.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <nru6o8$vjr$2@dont-email.me> <359ac464de7211bd502cb13fd0a22d24@dizum.com>

Show Full Headers
Complete Article Headers
Message-ID: <ea9f00590b8773eb129789e536b19fa1@msgid.frell.theremailer.net>
Subject: Re: Regex help
Date: Fri, 30 Sep 2016 19:11:07 +0000
From: Fritz Wuehler <fritz@spamexpire-201609.rodent.frell.theremailer.net>
References: <nru6o8$vjr$2@dont-email.me> <359ac464de7211bd502cb13fd0a22d24@dizum.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: dizum.com - The Internet Problem Provider
X-Abuse: abuse@dizum.com
Injection-Info: sewer.dizum.com - 194.109.206.211