TIP: Click on subject to list as thread! ANSI
echo: bbbs.english
to: ALLEN PRUNTY
from: JANIS KRACHT
date: 2017-03-14 13:24:00
subject: BBBS is the most generous

> All I have to say about BBBS is it has to the the most generous BBS
> system on the planet.

> Can someone please post a full explanation on the regex Areafix
> requests.  I try to do as best as I can but every now and then I screw
> up and adding one echo adds a hunderd.  Like I said it's generous
> loves to share lol.

This is the help screen that BBBS generates when you enter the REGEXP command
on the command line:

======cut here====
Contents   Index   Help   Retrace   Browse    Search   Quit
                             Regular Expression

DESCRIPTION
        Regular  Expression is a standard way to scan for a text. RegExp
        has  specific  syntax  for wildcards which differs from wildcard
        scan used for files. All texts in BBBS are scanned with RegExps,
        the scan in not case sensitive.

        RegExp          What it does
        ================================================================
        foz             text "foz" as it is
        ^               beginning of the line
        $               end of the line
        .               any character
        [foz]           character `f', `o' or `z'
        [^foz]          any other character than `f', `o' or `z'
        [f-j]           equal to command "[fghij]"
        [^f-j]          equal to commnad "[^fghij]"
        (foo|bar)       text "foo" or "bar"
        x?              equal to command "(x|)"
        x+              one or more `x'
        x*              zero or more `x'
        \x              character `x', used finding f.ex. `*'

NOTE
        Following  RegExps  are  valid, but the result might not be what
        you think you asked for.

        RegExp          What it does
        ================================================================
        .*              matches everything
        .               matches everything except an empty line
        fub*            matches lines with "fu"
        file*.*         matches lines with "fil"

EXAMPLE
        RegExp          What it does
        ================================================================
        foobar          scan for text "foobar" anywhere in the line


        ^foobar         scan for a line starting with "foobar"
        fo.bar          scan for a line with text fobar
        \*              scan for character "*" anywhere in the line
        foo(bar|ugh)*buz$
                        scan for a line with text "foo" followed by zero
                        or  more "bar" or "ugh" and followed by "buz" at
                        the  end of the line. For example lines "foobuz"
                        and "junkfoobarughbarbuz" matches this RegExp

================

Hope this helps :)

Take care,
Janis

--- BBBS/Li6 v4.10 Toy-3
* Origin: Prism bbs (1:261/38)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.