Scan the text for the given pattern and update pos/match and related fields. The return value is a boolen that indicates if the pattern matched. The matched value is stored on the instance as “match“, the last value is stored as “last“. “start_pos“ is the position of the pointer before the pattern was matched, “pos“ is the end position.

scan is referenced in 0 repositories