Annotation of 43BSD/ingres/doc/quel/delim.nr, revision 1.1

1.1     ! root        1: .th DELIM QUEL 12/21/84
        !             2: .sh NAME
        !             3: delim - specify a name for a pattern of characters
        !             4: .sh SYNOPSIS
        !             5: .bd destroy
        !             6: .bd delim
        !             7: groupname
        !             8: (
        !             9: delimitor, pattern
        !            10: )
        !            11: .br
        !            12: pattern =
        !            13: [ "[character list]" | "{character list}" ]*
        !            14: .br
        !            15: .sh DESCRIPTION
        !            16: The delim statement allows the user to specify a name for
        !            17: a certain pattern of characters, which may be used with the substring
        !            18: facility. The delimitors are stored in groups, which may be used
        !            19: and unused together.
        !            20: .s3
        !            21: The pattern for a delimitor is specified using a modified
        !            22: version of BNF grammar. A character list is either a list of the
        !            23: characters to match, or a range of characters separated by a "-",
        !            24: or a combination or both of the above. A character list in brackets 
        !            25: indicates that one of the characters must match exactly once,
        !            26: and a character list in braces indicates that one of the characters
        !            27: may match zero or more times. The pattern is composed of a list
        !            28: of character lists.
        !            29: .s3
        !            30: After a delimitor has been defined, to be used in
        !            31: an ingres query it must be activated using the 'use' command.
        !            32: .sh EXAMPLE
        !            33: .nf
        !            34: /\*(** will match a sequence of alphabetic characters beginning
        !            35: with a capital letter \*(**/
        !            36: define delim paper(word, "[A-Z]{a-z}")
        !            37: .s1
        !            38: /\*(** will match a decimal number \*(**/
        !            39: define delim math (dec, "[0-9]{0-9}[.][0-9]{0-9}")
        !            40: .s1
        !            41: .fi
        !            42: .sh "SEE ALSO"
        !            43: destroy(quel), quel(quel), use(quel) 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.