Groups | Search | Server Info | Login | Register


Groups > comp.sys.acorn.misc > #21813

Re: Regex a couple of questions

Path csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From Jean-Michel <jmc.bruck@orange.fr>
Newsgroups comp.sys.acorn.misc
Subject Re: Regex a couple of questions
Date Mon, 09 Mar 2026 17:44:01 +0100
Organization Jean-Michel
Lines 45
Message-ID <a69bf2b65c.jmb@jmc.bruck.orange.fr> (permalink)
References <5cb6c8bbebdave@triffid.co.uk> <20260309101645.191086c4@wibble.sysadmininc.com>
Injection-Date Mon, 09 Mar 2026 16:44:08 +0000 (UTC)
Injection-Info dont-email.me; posting-host="b869c11f1ade5d60145553c110b30359"; logging-data="3674148"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+EBfBwQO4/VprVYlGJ9FdKQZ5JDw5O1Ww="
User-Agent Messenger-Pro/9.03 (MsgServe/9.03) (RISC-OS/5.31) NewsHound/v1.53-32 RC1
Cancel-Lock sha1:dfsVEBcuTp0OsgVNJT5oALH3JW8=
X-Editor EmailEdit 2.04
Xref csiph.com comp.sys.acorn.misc:21813

Show key headers only | View raw


In message <20260309101645.191086c4@wibble.sysadmininc.com>
          Nigel Reed <sysop@endofthelinebbs.com> wrote:

> 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.

You can do Regex tests with the very good software from Martin Avison 
RegExTest.
https://homepages.force9.net/avisoft/RegExTest.htm



-- 
Jean-Michel

Back to comp.sys.acorn.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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