Forum
ยป
Why does anyone use regular expressions?
- Results 1 to 6 of 6
-
Page 1 of 1
02-28-2023, 06:07 AM
-
#1
- DomMJr
- Registered User
-
- DomMJr
- Registered User
- Join Date: Dec 2022
- Age: 56
- Posts: 7,380
- Rep Power: 23077
-
-
Why does anyone use regular expressions?
They're a headache to read.
How is even 3 lines of code not worth it so anyone can read the logic?
Is there a context where they cannot fit a few lines?
Seems like nonsense.
How is even 3 lines of code not worth it so anyone can read the logic?
Is there a context where they cannot fit a few lines?
Seems like nonsense.
02-28-2023, 06:31 AM
-
#2
- Rotmaxxer
- Registered User
-
- Rotmaxxer
- Registered User
- Join Date: Feb 2023
- Age: 56
- Posts: 1,342
- Rep Power: 2471
-
-
Lolwat ๐ they make basic string matching so much easier ๐ค what are you gonna implement a state machine everytime you need to find a pattern? ๐๐
Sounds like you just need to up your regexfu game srs ๐๐
Sounds like you just need to up your regexfu game srs ๐๐
Israeli Jew Crew ๐ฎ๐ฑโก๏ธ๐
Emoji Crew ๐
Rot Crew ๐ตโ๐ซ
If you have to resort to commenting on my emojis ๐ค then you already lost ๐๐
02-28-2023, 10:05 AM
-
#3
02-28-2023, 10:07 AM
-
#4
- Getter_done
- Join Date: Dec 2008
- Posts: 138,240
- Subscribers: 6
- Rep Power: 1140645
-
-
Originally Posted By Rotmaxxer⏩
Lolwat they make basic string matching so much easier what are you gonna implement a state machine everytime you need to find a pattern?
Sounds like you just need to up your regexfu game srs
Sounds like you just need to up your regexfu game srs
Originally Posted By lockdev⏩
I dont know whats going on but op got rekt.If you're a professional coder: Consider a new career.
Signed,
A professional coder. srs.
Signed,
A professional coder. srs.
02-28-2023, 10:21 AM
-
#5
02-28-2023, 10:29 AM
-
#6
- Rotmaxxer
- Registered User
-
- Rotmaxxer
- Registered User
- Join Date: Feb 2023
- Age: 56
- Posts: 1,342
- Rep Power: 2471
-
-
Originally Posted By lockdev⏩
No need to be so harsh ๐ค it's something you can pick up as you go ๐๐If you're a professional coder: Consider a new career.
Signed,
A professional coder. srs.
Signed,
A professional coder. srs.
Besides, you really should avoid using regex in-code ๐ค you should aim to get a structured input ๐ not some strings that you need to parse like you're in the early 2000's ๐๐ it's useful for grepping things (code, logs, etc.) but avoid it when you can ๐ค๐ค
Israeli Jew Crew ๐ฎ๐ฑโก๏ธ๐
Emoji Crew ๐
Rot Crew ๐ตโ๐ซ
If you have to resort to commenting on my emojis ๐ค then you already lost ๐๐
Bookmarks
-
- Digg
-
- del.icio.us
-

- StumbleUpon
-
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts