Use the aa.npath() function to perform regular pattern matching over a sequence of rows from one or more inputs.