Match multiline regex in file object

前端 未结 3 564
遥遥无期
遥遥无期 2021-01-02 02:22

How can I extract the groups from this regex from a file object (data.txt)?

import numpy as np
import re
import os
ifile = open(\"data.txt\",\'r\')

# Regex          


        
3条回答
提交回复
热议问题