import restrs = ['23:25:04.805: INFO: THttpServer: transportTCPChanged(state: DISCONNECTED 2)', '23:25:13.120: INFO: THttpServer: transportUDPOpened(state: Port 54)'] rx = re.compile(r'THttpServer:\W*(\w+)')for s in strs: m = rx.search(s) if m: print("Found '{}' in '{}'.".format(m.group(1), s))
Standard input is empty
Found 'transportTCPChanged' in '23:25:04.805: INFO: THttpServer: transportTCPChanged(state: DISCONNECTED 2)'. Found 'transportUDPOpened' in '23:25:13.120: INFO: THttpServer: transportUDPOpened(state: Port 54)'.
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!