So what you're saying is you suck at regular expressions.
Could just do this instead of regex
text.split('m')[-2].split(']')[-1]
Or if you need to use regex, it can strip away all the ansi nonsense like this
import re ansi_escape = re.compile(r'\x1b[[0-9;]*m') print(ansi_escape.sub('',text)) 20:10:56.172914
The ANSI nonsense is necessary, it's color.
Are you ok? I mean from the outside looking in you just went off on ANSI. That’s kinda like going off on water.
What makes me want to go out and punch random niggers is Regex. I get 's position on ANSI.
Not even slightly, faggot. ANSI stuck around because banking niggers were like "upgrading legacy systems costs money!!!!!" That's why the push for (((ipv6))) [among others] is a thing, but ironically it's also why IPV4 sticks around.
Ip4 sticks around because ANSI?
Wut
No, because of the practice of legacy hardware not being updated because of cost, so modern hardware has to be slaves for legacy systems. The cost to upgrade the entire internet backbone to gear that can handle IPV6 would likely exceed a trillion dollars. You can't just expect a 30 year old asic, or 16bit memory controller to hop along nicely with IPV6's judaism.
hmmmmm
another circle that needs to be reinvented as an hexagon ?