Groups | Search | Server Info | Login | Register
Groups > comp.sys.acorn.misc > #21812
| From | Nigel Reed <sysop@endofthelinebbs.com> |
|---|---|
| Newsgroups | comp.sys.acorn.misc |
| Subject | Re: Regex a couple of questions |
| Date | 2026-03-09 10:16 -0500 |
| Organization | End Of The Line BBS |
| Message-ID | <20260309101645.191086c4@wibble.sysadmininc.com> (permalink) |
| References | <5cb6c8bbebdave@triffid.co.uk> |
On Mon, 09 Mar 2026 09:06:38 +0000 (GMT) Dave <dave@triffid.co.uk> wrote: > Good day folks, > I appreciate this is an Acorn NG. But my questions though about Regex > are directly connected to the VRPC-DL upon which I do all my Email and > Newsgroup Reading and Writing... (NetFetch). > > I've looked at Regex tutorials online and my brain slowly turns to > mush... So please, I need a few point of clarification. :-) > > In Regex is .* a real catch all ? > > Example: Freds Pillows.* > > Will that catch everything that follows Freds Pillows; As after a > while spammers will add a little something after the usual moniker? > > > So if I have a Name.* Will adding a space after the Name .* give a > different result. > > Name.* or Name .* .* is a greedy match for the given character, where . means any character then yes, it should match until the end. If you added a space then there would need to be a space in your string to match, but really you should be using \s+ to catch one or more white spaces. You can use one of the many regex checkers because not all regex engines are built equal. I quite like https://regex101.com/ due to its group highlighting. -- End Of The Line BBS - Plano, TX telnet endofthelinebbs.com 23
Back to comp.sys.acorn.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Regex a couple of questions Dave <dave@triffid.co.uk> - 2026-03-09 09:06 +0000
Re: Regex a couple of questions Nigel Reed <sysop@endofthelinebbs.com> - 2026-03-09 10:16 -0500
Re: Regex a couple of questions Jean-Michel <jmc.bruck@orange.fr> - 2026-03-09 17:44 +0100
Re: Regex a couple of questions Dave <dave@triffid.co.uk> - 2026-03-10 19:02 +0000
Re: Regex a couple of questions Martin <News04@avisoft.f9.co.uk> - 2026-03-10 23:24 +0000
Re: Regex a couple of questions Dave <dave@triffid.co.uk> - 2026-03-11 11:56 +0000
Re: Regex a couple of questions Martin <News04@avisoft.f9.co.uk> - 2026-03-11 12:51 +0000
Regex a couple of questions Dave <dave@triffid.co.uk> - 2026-03-12 08:43 +0000
Re: Regex a couple of questions Martin <News04@avisoft.f9.co.uk> - 2026-03-12 09:51 +0000
Re: Regex a couple of questions Harriet Bazley <harriet@bazleyfamily.co.uk> - 2026-03-12 10:20 +0000
Re: Regex a couple of questions Sniffer <sniffer@dewberryfields.co.uk> - 2026-03-12 11:17 +0000
csiph-web