Right?
Right?
Shhh don’t tell anyone lmao
Why is there a badum tss that wasn’t like an actual joke
Web Developer
That profile pic is amazing
Angular my beloved…
What’s wrong with it if I may ask?
Very much not the case, no
We go to youtube to watch videos. We go to lemmy comments to read text.
Youtube videos DO have descriptions, though?
Bro’s gonna get to the great beyond and experience horrors beyond human comprehension for this one
You can’t make this shit up
I was like, why specify “one or more” and then make it optional? Isn’t that just .*?
Yes! Well said.
Literally required to do it by law of sanctions
DRY is usually helpful if you don’t use it in situations where you have like 2 semi-different things. If they’re actually the same and you have 3 or more then the level of abstraction is worth it almost always.
Unfortunately I’m still on windows, so [User]/Documents/Projects/*
Ah, didn’t know +? was lazy, thanks
Code that’s easy to extend generally encourages creating related code that’s easy to delete. These are very similar directives.
The capture group must be the same each time it repeats, so the number of characters stays the same. So X groups of Y characters = string of length X*Y. X and Y can be anything so any string length that can be made by multiplying two numbers-- which is every non-prime string length-- is matched. 0 and 1 are handled specially at the start.
Is there a reason to use (..+?)
instead of (.+)
?
Because we’re trying to combat cancer instead of dogs