home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 1784 
 Janis Kracht to Allen Prunty 
 BBBS is the most generous BBS Ever :-) 
 14 Mar 17 13:19:10 
 
> 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 <   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)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca