⚔ COMPANY OF HEROES ⚔


ChatLog

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

time \/ user name message
Mar 26, 2022 16:18:13

mystiksoda

what are you trying to do?
Mar 26, 2022 16:19:35

10bag

what are you doing and why do you need regex for it
Mar 26, 2022 16:20:13

10bag

first thing they teach you in programming school is to avoid regex if you can
Mar 26, 2022 16:20:22

mystiksoda

its matching \"[\" because its not in that list
Mar 26, 2022 16:21:43

mystiksoda

C#'s regex is very optimized both memory and performance wise so no issue there
Mar 26, 2022 16:22:02

mystiksoda

the neweest version pretty much allocates 0 memory
Mar 26, 2022 16:22:56

cohopponentbot

Hey guys! I am a bot connected via TwitchLib!
Mar 26, 2022 16:23:11

mystiksoda

i disagree regex izs one of the least important things
Mar 26, 2022 16:23:29

mystiksoda

but hey i can help you with regex if you need
Mar 26, 2022 16:23:54

10bag

you're supposed to google how to make the expression you need, you're not meant to learn it
Mar 26, 2022 16:24:04

10bag

life is too short and you're already 46 bro
Mar 26, 2022 16:24:20

mystiksoda

lmao 10bag
Mar 26, 2022 16:24:34

10bag

look at this, 54000 lines of python just to say the words people type in chat
Mar 26, 2022 16:24:42

10bag

can you form a regex to identify BLOAT
Mar 26, 2022 16:25:16

10bag

bro you can't afford my code, we've been through this
Mar 26, 2022 16:25:28

10bag

i'm not a full time unpaid programmer like you Kappa
Mar 26, 2022 16:25:57

10bag

i am rich beyond your wildest dreams bro
Mar 26, 2022 16:26:40

mystiksoda

wait what version of .NET are u even using atm?
Mar 26, 2022 16:26:46

10bag

songs wants to buy respect bro i just want to be entertained
Mar 26, 2022 16:28:22

mystiksoda

@XcomReborn remove the \"^\" oin your regex
Mar 26, 2022 16:28:47

mystiksoda

i think thats what u want at least
Mar 26, 2022 16:30:41

mystiksoda

oh yeah then it is right
Mar 26, 2022 16:30:49

10bag

why not just do string replace and cut out the regex
Mar 26, 2022 16:31:00

10bag

that way when your code breaks (which it definitely will) you'll understand it when you come back
Mar 26, 2022 16:31:14

10bag

readability is better than trying to make people think you're clever with regex bro
Mar 26, 2022 16:31:48

10bag

string replace or something? been a while since i wrote c#
Mar 26, 2022 16:31:48

mystiksoda

@XcomReborn don't listen to 10bag, they're trolling you
Mar 26, 2022 16:32:20

10bag

https://docs.microsoft.com/en-us/dotnet/api/system.string.replace?view=net-6.0
Mar 26, 2022 16:32:40

10bag

weren't you trying to write a python program around a 2005 library yesterday until i suggested you did it in c#? 4Head
Mar 26, 2022 16:33:25

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