murex Shell Docs

Command Reference: match

Match an exact value in an array

Description

match takes input from STDIN and returns any array items / lines which contain an exact match of the parameters supplied.

When multiple parameters are supplied they are concatenated into the search string and white space delimited. eg all three of the below are the same: match "a b c" match a match a b c match a b c

Usage

<stdin> -> match search string -> <stdout>

Examples

» ja: [Monday..Friday] -> match Wed
[
    "Wednesday"
]

Detail

match is data-type aware so will work against lists or arrays of whichever murex data-type is passed to it via STDIN and return the output in the same data-type.

See Also

This site is rebuilt weekly, the content is automatically generated from murex's source code. Last built on Mon May 25 06:11:51 UTC 2020 against commit aa3f3b7aa3f3b7e471543754fdcaf910d4920cad9112b91. Downloadable murex binaries are also built weekly. Current version is 0.48.0120 BETA which has been verified against 29375 tests.