What does the expression #(?-mix:facebook|twitter) mean in the following output from rake routes ?
user_omniauth_callback /users/auth/:action/callback users/omniauth_callbacks#(?-mix:facebook|twitter)
"What does this mean?", "This means something." "Mean(s)", as in attempting to convey meaning, is "Mean" where referring to yourself ("I mean"), referring to a group of people including or not including yourself ("We mean", "They mean"), or referring to someone else in the gender-neutral. ("
The :-) notation is known as a smiley, and means that the statement it follows was intended as humor. When you tilt your head to the side, you see that : is the eyes, - the optional nose, and ) is the mouth.
phrase. If you say that you are doing or talking about this and that, or this, that, and the other you mean that you are doing or talking about a variety of things that you do not want to specify. "And what are you doing now?"—"Oh this and that." See full dictionary entry for this.
You're probably already using '?! ' or '!? ' in your writing. A question mark and an exclamation mark are usually used together to express excitement, surprise, or disbelief. The interrobang was invented to combine these marks together to save space and precious characters.
It's a regular expression snippet and it effectively matches either facebook
or twitter
in that position, and is case-sensitive (so won't match fAcebOOK
or TWITTER
).
If you want to know more about regular expressions then start here :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With