You are viewing a single thread.
View all comments View context
9 points

You could also say that down should not complete to download since those are completely different strings and you shouldn’t expect one to get you the other.

permalink
report
parent
reply
3 points

Sorry, down is a substring of download I don’t get your point either?

permalink
report
parent
reply
4 points

Substring is not string.

If they were interchangeable, then “D” & “d” should be too.

permalink
report
parent
reply
2 points

down matches down* because * also includes empty string. Also download matches down*

D matches D* but d is not matching D* because D is a different character than d.

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 3.7K

    Monthly active users

  • 1.1K

    Posts

  • 39K

    Comments