They are upset that the actor who portrayed Sulu in Star Trek: Continues died
Please correct my English.
The lemming formerly known as:
They are upset that the actor who portrayed Sulu in Star Trek: Continues died
Most people? Is that true?
Subscription price is increasing this autumn.
Here is my cheatsheet that has been very helpful. Obviously, this will not teach you how RegEx works, but is a good quick reference when I forget the exact syntax for something.
Pattern | Description |
---|---|
. |
Any character, except newline |
\w |
Word |
\d |
Digit |
\s |
Whitespace |
\W |
Not word |
\D |
Not digit |
\S |
Not whitespace |
[ ] |
Any of a, b, or c |
[ ] |
Characters between a and e |
[ ] |
Digit between 1 and 9 |
[[:print:]] |
Any printable character including spaces |
[^abc] |
Any character except a , b or c |
Pattern | Description |
---|---|
\G |
Start of match |
^ |
Start of string * |
|
End of string * |
\A |
Start of string |
\Z |
End of string |
\z |
Absolute end of string |
\b |
A word boundary |
\B |
Non-word boundary |
^abc |
Start with abc |
|
End with abc |
For multiline patterns (m
flag), ^
and will act as start and end of line.
Pattern | Description |
---|---|
\. \* \\ |
Escape special character used by regex |
\t |
Tab |
\n |
Newline |
\r |
Carriage return |
Pattern | Description |
---|---|
(abc) |
Capture group |
(a|b) |
Match a or b |
(?:abc) |
Match abc , but don’t capture |
\1 |
Substituted with text matched of the 1st capturing group |
Pattern | Description |
---|---|
a* |
Match 0 or more |
a+ |
Match 1 or more |
a? |
Match 0 or 1 |
a{5} |
Match exactly 5 |
a{,3} |
Match up to 3 |
a{3,} |
Match 3 or more |
a{1,3} |
Match between 1 and 3 |
Pattern | Description |
---|---|
a(?=b) |
Match a in baby but not in bay |
a(?!b) |
Match a in Stan but not in Stab |
(?<=a)b |
Match b in crabs but not in cribs |
(?<!a)b |
Match b in fib but not in fab |
(?<![a-z])abc(?![a-z]) |
Match abc without any letters before/after |
# RegExp
## Character classes
| Pattern | Description |
| ------------- | ---------------------------------------- |
| `.` | Any character, except newline |
| `\w` | Word |
| `\d` | Digit |
| `\s` | Whitespace |
| `\W` | Not word |
| `\D` | Not digit |
| `\S` | Not whitespace |
| `[abc]` | Any of a, b, or c |
| `[a-e]` | Characters between `a` and `e` |
| `[1-9]` | Digit between `1` and `9` |
| `[[:print:]]` | Any printable character including spaces |
| `[^abc]` | Any character except `a`, `b` or `c` |
## Anchors
| Pattern | Description |
| ------- | ---------------------- |
| `\G` | Start of match |
| `^` | Start of string \* |
| `$` | End of string \* |
| `\A` | Start of string |
| `\Z` | End of string |
| `\z` | Absolute end of string |
| `\b` | A word boundary |
| `\B` | Non-word boundary |
| `^abc` | Start with `abc` |
| `abc$` | End with `abc` |
For multiline patterns (`m` flag), `^` and `$` will act as start and end of line.
## Escaped characters
| Pattern | Description |
| ---------- | -------------------------------------- |
| `\. \* \\` | Escape special character used by regex |
| `\t` | Tab |
| `\n` | Newline |
| `\r` | Carriage return |
## Groups
| Pattern | Description |
| --------- | -------------------------------------------------------- |
| `(abc)` | Capture group |
| `(a\|b)` | Match `a` or `b` |
| `(?:abc)` | Match `abc`, but don't capture |
| `\1` | Substituted with text matched of the 1st capturing group |
## Quantifiers
| Pattern | Description |
| -------- | --------------------- |
| `a*` | Match 0 or more |
| `a+` | Match 1 or more |
| `a?` | Match 0 or 1 |
| `a{5}` | Match exactly 5 |
| `a{,3}` | Match up to 3 |
| `a{3,}` | Match 3 or more |
| `a{1,3}` | Match between 1 and 3 |
## Lookahead & Lookbehind
| Pattern | Description |
| --- | --- |
| `a(?=b)` | Match `a` in `baby` but not in `bay` |
| `a(?!b)` | Match `a` in `Stan` but not in `Stab` |
| `(?<=a)b` | Match `b` in `crabs` but not in `cribs` |
| `(?<!a)b` | Match `b` in `fib` but not in `fab` |
| `(?<![a-z])abc(?![a-z])` | Match `abc` without any letters before/after |
How so? I have been getting much more comfortable with it lately, but I am curious what downsides there are
I think this is why OP typed it incorrectly. OP and this community are both on an instance that arbitrarily censors language.
Thanks, Satan.
Cockpit?
From what I understand, this is a Bing bug feature that makes its way “downstream” to DuckDuckGo results. Someone please correct me if I am wrong.
Mac, can a butthole cut in half?
How would a web browser achieve that? The only thing I can think of is for the browser to choose what sort of web content should be filtered out and what should actually be displayed to the user, which I think we all agree is not what you would want your browser to choose.
Basically just 2048. I have actually had a single 7x7 game going for literally months.
Is this experience at Walmart specifically? The only store I go to regularly that has self-checkout machines is a local grocery store and I love them. No issues for me.
Your title makes this sound like a bad thing, but this looks like it would probably be preferable over being shown whatever it is YouTube wants you to see.
The culture of things that are not inherently political?
Hmm, I think this is an Mbin vs Lemmy issue. There are two differences in the URL:
%2C
instead of ,
. This part does not make a difference, because that resolves to a comma anyway=
at the very end for some reason. This is what breaks it. Remove that character, and the URL works fineThe weird thing here is that the broken URL only ever shows up on Mbin. Below are a few different links to the comment in which you shared the broken URL. If you view the comment on your Mbin instance, it is indeed broken. But if you view it on this community’s Lemmy instance or my home instance, your same comment actually has the working URL. Something about how the post/comment were federated must have messed things up.
Is that not literally the same link as the OP?
EDIT: Ah, the OP’s edit from 30 minutes before your comment has not federated out to your instance yet.
It doesn’t make sense. I understand it, but it doesn’t make sense.
Why would that be unlikely? Calvin & Hobbes seems like a prime piece to milk nostalgia money out of.