You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
-
44\$\begingroup\$ ... WE HAVE A WINNER. \$\endgroup\$Arandur– Arandur2015-12-28 15:11:04 +00:00Commented Dec 28, 2015 at 15:11
-
10\$\begingroup\$ Just btw, I'd say the number of matches is infinite. The empty string can repeat an unlimited number of times and be matched infinitely. \$\endgroup\$nicael– nicael2015-12-28 15:19:15 +00:00Commented Dec 28, 2015 at 15:19
-
57\$\begingroup\$ @nicael Luckily, that's not how regex works. ;) \$\endgroup\$Martin Ender– Martin Ender2015-12-28 15:19:46 +00:00Commented Dec 28, 2015 at 15:19
-
8\$\begingroup\$ @MartinBüttner that depends on your regex engine. I've definitely encountered systems that will crap out if you ever try to match the empty string. \$\endgroup\$Sparr– Sparr2015-12-28 16:30:42 +00:00Commented Dec 28, 2015 at 16:30
-
22\$\begingroup\$ @LorenPechtel that rule applies only to quine challenges where the empty program is trivially a solution in most languages. I think it's fair game here, since this empty program actually has non-trivial semantics and Retina does not have this behaviour because of challenges like this but because it's the only consistent generalisation of its behaviour for all single-line programs. \$\endgroup\$Martin Ender– Martin Ender2015-12-30 07:27:15 +00:00Commented Dec 30, 2015 at 7:27
|
Show 6 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
- MathJax equations
\$\sin^2 \theta\$
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. code-golf), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you