XCoins
⚔ BETTING LEAGUE ⚔


ChatLog

First Previous 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 Next Last

time user name message
Mar 26, 2022 16:43:04

mystiksoda

they just tell you it exists and that you should avoid using it
Mar 26, 2022 16:43:00

10bag

bro this attitude is why you struggle
Mar 26, 2022 16:42:49

mystiksoda

they don't really teach any regex in school at all
Mar 26, 2022 16:41:28

mystiksoda

wrong
Mar 26, 2022 16:41:14

10bag

you're moving goalposts
Mar 26, 2022 16:41:10

10bag

the regex is just for stripping chars you don't want though
Mar 26, 2022 16:40:23

10bag

?
Mar 26, 2022 16:40:16

mystiksoda

better yet, u lose actually
Mar 26, 2022 16:40:07

mystiksoda

u gain nothing
Mar 26, 2022 16:39:53

10bag

what's wrong with using replace for readability then?
Mar 26, 2022 16:37:11

mystiksoda

yes of course
Mar 26, 2022 16:34:06

10bag

bro he's gonna be trying to fix this code for the next decade, trust me
Mar 26, 2022 16:33:51

10bag

no i didn't but replacing characters in a string should be pretty ez
Mar 26, 2022 16:33:36

muktoakash

is the tts reading c-sharp as c-hash? I was quite confused for a bit
Mar 26, 2022 16:33:32

mystiksoda

10bag did you even take any time to read the doc u just linked???
Mar 26, 2022 16:33:25

10bag

the underlying api is some madly outdated microsoft thing though no
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:32:20

10bag

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

mystiksoda

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

10bag

string replace or something? been a while since i wrote c#
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:00

10bag

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

10bag

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

mystiksoda

oh yeah then it is right
Mar 26, 2022 16:28:47

mystiksoda

i think thats what u want at least
Mar 26, 2022 16:28:22

mystiksoda

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

10bag

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

mystiksoda

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

10bag

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

10bag

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

First Previous 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 Next Last