START {
.. eol } do {
test( "NPE measured at 50C/122F" );
test( "NPE Inlet measured at 44C/111" );
test( "Really Big NPE Inlet measured at 44C/111" );
}
test(s) {
input = s;
local device;
local temperature;
local end = "";
device:rep( not("measured") word )?
"measured" "at"
temperature:word
eol
} do {
print( "device... ".device );
print( "temp..... ".temperature );
} --------------OUTPUT------------------------------
device... NPE
temp..... 50C/122F
device... NPE Inlet
temp..... 44C/111
device... Really Big NPE Inlet
temp..... 44C/111