getmatches
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | getmatches [2007/02/27 04:57] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | # $EPIC: getmatches.txt, | ||
| + | ======Synopsis: | ||
| + | $__getmatches__(< | ||
| + | |||
| + | ======Technical: | ||
| + | This function treats the items in array as literal strings, and returns | ||
| + | a word list of item values such that | ||
| + | |||
| + | for i in ($getrmatches(< | ||
| + | if (getitem(< | ||
| + | echo True | ||
| + | } else { | ||
| + | echo False | ||
| + | } | ||
| + | } | ||
| + | |||
| + | only outputs True and enver False. | ||
| + | |||
| + | ======Practical: | ||
| + | The $__getmatches__() function is used to retrieve all items in the given | ||
| + | array that match the given pattern. | ||
| + | to retrieve all items that match the given string. | ||
| + | |||
| + | ======Returns: | ||
| + | list of item numbers corresponding to matches | ||
| + | |||
getmatches.txt · Last modified: 2007/02/27 04:57 by 127.0.0.1
