gpt4 book ai didi

php - PHP中Python的 "findAll"函数相当于什么?

转载 作者:行者123 更新时间:2023-12-04 21:24:13 26 4
gpt4 key购买 nike

re.findall(r'(\b[a-zA-Z][a-zA-Z0-9-]*)(?=\.com\b)', DATA)

这行在 PHP 中会怎样?

最佳答案

我想你正在寻找 preg_match_all .

关于php - PHP中Python的 "findAll"函数相当于什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1676140/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com