Skip to main content
. 2018 May 25;57(Suppl 1):e22–e29. doi: 10.3414/ME17-02-0010

Table 3.

Example of the regular expression feature for querying (6), constraining (7) and extracting (8) a numeric concept (Puls = pulse, ZAHL = NUMBER). “$1” is a reference to the extracted concept (the first expression in round parentheses or its equivalent predefined class, i.e. “ZAHL”).

Syntax Alternative Syntax
/Puls ZAHL/ /Puls [0–9]+/ (6)
/Puls ZAHL/[ZAHL > 150] /Puls ([0–9]+)/[$1 > 150] (7)
/Puls ZAHL/[ZAHL > 150] ZAHL /Puls ([0–9]+)/[$1 > 150] $1 (8)