*\r\n){1}),它可以工作,但是当我在python中做同样的事情时,它不会工作 文本是 Above 85°C the rated (DC/AC) voltage must be derated atper 1.5%/2.5%°CSVDC: 600 Volts DC python代码 re.search(r'(WVDC)((?*\r\n){1})',txt)
我从一个包含:this is the first line\n this is the second line\n\nAnother line的文件中读取 c = f.read()this is the first line\\n this is the secondline\\n\\nAnother line
我尝试过在r'text.txt'中不