import rep = re.compile(r':RE\[(.*?)]:')test_str = "# Even more commments\nWARNING:HDLParsers:817 - \":RE[.*]:/modules/top/hdl_src/cpu_0342.vhd\" Line :RE[.*]: Choice . is not a locally static expression."print(p.findall(test_str))
Standard input is empty
['.*', '.*']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!