diff --git a/src/py_regex_replace/main.py b/src/py_regex_replace/main.py index a5f5877..b553b36 100755 --- a/src/py_regex_replace/main.py +++ b/src/py_regex_replace/main.py @@ -17,7 +17,7 @@ def main(): # https://docs.python.org/3/library/re.html#re.findall # Return all non-overlapping matches of pattern in string, as a list of strings or tuples. - # The string is scanned left-to-right, and matches are returned in the order found. + # The string is scanned left-to-right, and matches are returned in order. matches = re.findall(pattern, string, flags=re.MULTILINE) if len(matches) != count: print(f'[ERROR] Expected {count} matches of pattern in string, but got {len(matches)}.')