Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ strrexp(3W) — Dell System V Release 4 Issue 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

strexp(3W)

streexp(3W)



strrexp(3W)                      UNIX System V                      strrexp(3W)


                            Regular Expression Utilities

NAME
       strrexp

SYNOPSIS
      #include <expcmp.h>
       ...
      extern char * strrexp(string, curp, expression)
      char * string;
      char * curp;
      char * expression;

DESCRIPTION
      The strrexp function is used to perform a regular expression backward
      scan of string for expression starting at curp.

THE REGULAR EXPRESSION LANGUAGE USED IS
             c - match c
       [<set>] - match any character in <set>
      [!<set>] - match any character not in <set>
             * - match any character(s)
             ^ - match must start at curp


RETURN VALUE
      NULL is returned if expression cannot be found in string; otherwise a
      pointer to the first character in the substring which matches expression
      is returned.  The function streexp(3W) can be used to get the pointer to
      the last character in the match.

SEE ALSO
      strexp(3W), streexp(3W)





















10/89                                                                    Page 1





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026