Nre Package Commands


NAME

nrelsearch - See if a list contains a particular element

SYNOPSIS

package require nre ?1.0?
nrelsearch ?mode? list pattern

DESCRIPTION

The nrelsearch command is just like the lsearch command except that if the -regexp is used then the regular expression package described in the nrematch man page is used.

Note that even though the -nocase switch is not supported you can do case-insensitive matches by starting the regular expression pattern with (?i).

KEYWORDS

list, match, nre, pattern, regular expression, search, string

Last change: 1.0

[ nre3.0 ]

Copyright © 1997 Darrel Schneider.