Is there any way to directly replace all groups using regex syntax? The normal way: re.match(r"(?:aaa)(_bbb)", string1).group(1).
確定! 回上一頁