BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kre_pos - begin and end pointers of regular expression group

LIBRARY CALL

int kre_pos(
    int  num,
    kaddr *begin,
    kaddr *end)

INPUT

OUTPUT

RETURN VALUE

TRUE (1) on success, FALSE (0) otherwise

DESCRIPTION

Returns the start and end pointers to a regular expression group. This returns the beginning and end pointers of the matched pattern. The num parameter indicates which tag field to return, 0 implies that it should return pointers to the whole matched pattern

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/kutils/src/regex.c

SEE ALSO

kutils(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.