Is there a Perl equivalent of Python's re.findall/re.finditer (iterative regex results)?

后端 未结 3 535
渐次进展
渐次进展 2020-12-18 04:28

In Python compiled regex patterns have a findall method that does the following:

Return all non-overlapping matches of pattern in string, as a list

3条回答
  •  旧巷少年郎
    2020-12-18 04:44

    Nice beginner reference with similar content to @kyle's answer: Perl Tutorial: Using regular expressions

提交回复
热议问题