user name | message /\ | ||
xcomreborn |
abob | ||
xcomreborn |
bob | ||
xcomreborn |
dsfsdabobdfs | ||
xcomreborn |
bob | ||
xcomreborn |
goodbye | ||
xcomreborn |
hello | ||
10bag |
it is painful but it works | ||
cohopponentbot |
Hey guys! I am a bot connected via TwitchLib! | ||
10bag |
you ever tried test driven development? | ||
cohopponentbot |
Closing TTS Bot. | ||
xcomreborn |
!closetts | ||
lord_shish |
why are you returnign empty string then wondering why its returning empty string 4Head | ||
lord_shish |
here is some test data 8==============================D | ||
xcomreborn |
doh | ||
xcomreborn |
hello | ||
cohopponentbot |
Hey guys! I am a bot connected via TwitchLib! | ||
cohopponentbot |
Closing TTS Bot. | ||
xcomreborn |
!closetts | ||
10bag |
you're giving instructions to the computer, not requests | ||
10bag |
bro my advice is don't try anything, just do it | ||
10bag |
can't you do this with stringbuilder? | ||
10bag |
this is cancer though | ||
10bag |
i wasn't poopooing regex in general yesterday bro | ||
10bag |
not the same problem | ||
10bag |
right yeah that's totally different to what you were doing yesterday - stripping a series of individual characters out of a string | ||
10bag |
you could do this with regex 4Head | ||
lord_shish |
^ | ||
10bag |
correct that guy's code and it looks way more readable than any regex ever will, that's all i'm saying bro | ||
10bag |
and the correction is in the top answer | ||
10bag |
this example you used just shows a guy not understanding the immutability of strings in python |