A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/efun/regexp
NAME
regexp - match a regular expression
SYNOPSIS
string *regexp(string *array, string pattern)
DESCRIPTION
Returns an array containing all matches of `pattern' in the
strings contained in `array'.
The rules for this operation is somewhat hazy, I haven't had
the energy to penetrate the rather large bulk of code that
takes care of this so for now you'll have to read the source
code for yourself if you're interested.
However, it seems that the rules are the same as for UNIX
`grep', but don't count on it until you have verified by
testing.
This page was generated in LPC
Imprint / Impressum