Company of Heroes


ChatLog

First Previous 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 Next Last

user name message \/

mystiksoda

what are you trying to do?

10bag

what are you doing and why do you need regex for it

10bag

first thing they teach you in programming school is to avoid regex if you can

mystiksoda

its matching \"[\" because its not in that list

mystiksoda

C#'s regex is very optimized both memory and performance wise so no issue there

mystiksoda

the neweest version pretty much allocates 0 memory

cohopponentbot

Hey guys! I am a bot connected via TwitchLib!

mystiksoda

i disagree regex izs one of the least important things

mystiksoda

but hey i can help you with regex if you need

10bag

you're supposed to google how to make the expression you need, you're not meant to learn it

10bag

life is too short and you're already 46 bro

mystiksoda

lmao 10bag

10bag

look at this, 54000 lines of python just to say the words people type in chat

10bag

can you form a regex to identify BLOAT

10bag

bro you can't afford my code, we've been through this

10bag

i'm not a full time unpaid programmer like you Kappa

10bag

i am rich beyond your wildest dreams bro

mystiksoda

wait what version of .NET are u even using atm?

10bag

songs wants to buy respect bro i just want to be entertained

mystiksoda

@XcomReborn remove the \"^\" oin your regex

mystiksoda

i think thats what u want at least

mystiksoda

oh yeah then it is right

10bag

why not just do string replace and cut out the regex

10bag

that way when your code breaks (which it definitely will) you'll understand it when you come back

10bag

readability is better than trying to make people think you're clever with regex bro

10bag

string replace or something? been a while since i wrote c#

mystiksoda

@XcomReborn don't listen to 10bag, they're trolling you

10bag

https://docs.microsoft.com/en-us/dotnet/api/system.string.replace?view=net-6.0

10bag

weren't you trying to write a python program around a 2005 library yesterday until i suggested you did it in c#? 4Head

10bag

the underlying api is some madly outdated microsoft thing though no

First Previous 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 Next Last