You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

The function returns a STRING LIST with all substrings in argument s matching regular expression in string argument regexp.

Syntax
findPattern(string s, string regexp) #Output: String list
Examples
Parser expressionDescription
findPattern("Between 1900 and 2000 world population increase from 1.5 to 6.1 billions.", "\\d+(\\.\\d+)?")

The function returns a STRING LIST["1900", "2000", "1.5", "6.1"]

Additional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>

DATA TYPE

Parameter description.
<parameter>

DATA TYPE

Parameter description.
Output

The function returns a STRING LIST