我在Python中有字符串"I like lettuce and carrots and onions"。我想我可以通过使用像["I like lettuce", "I like lettuce and carrots", "I like lettuce and carrots and onions"]这样的正则表达式来获得以下匹配的
\lettuce-0.2.19-py2.7.egg\lettuce\plugins\colored_shell_output.py", line 91, in pri width, height = terminal.get_size()
File "C:\Python27\lib\site-packages\lettuce-0.2.19-py2.7.egg\lettuce\lib\site-packages\lettuce-0.2.19-py2.7