Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

strrexp(3W)

streexp(3W)



strexp(3W)                       UNIX System V                       strexp(3W)


                            Regular Expression Utilities

NAME
       strexp

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

DESCRIPTION
      The strexp function is used to perform a regular expression forward 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
      strrexp(3W), streexp(3W)





















10/89                                                                    Page 1





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