[Question]
  [
# Introduction
Street talk can be really difficult to understand, in particular to programmers, who aren't known to be very streetwise.
It is your job to create an interpreter to help us all survive in the urban environment.
# Challenge
Given an English sentence as input, create a program or a function that determines whether the outcome of the sentence is positive or negative.
The sentence will contain `0` to `2` negative words. As any programmer knows, a double negative results in a positive. Therefore, your code must output or return a [truthy/falsey](https://codegolf.meta.stackexchange.com/questions/2190/interpretation-of-truthy-falsey) value according to the following rule:
```
No negative words  -> truthy
One negative word  -> falsey
Two negative words -> truthy
```
The list of negative words:
* `no`, `not`, `none`
* Anything ending in `n't`
* `never`, `neither`, `nor`
* `nobody`, `nothing`, `nowhere`
There is one edge case. Whenever a sentence begins with `No,`, that word isn't treated as a negative word when determining the result (it does count towards the number of negative words so there can be just one more).
The sentence will follow basic grammar rules (capitalization, punctuation) and will only contain words that can be found from a dictionary (luckily, this doesn't invalidate the question title). The sentence won't contain any proper nouns (sorry, Dr. No, you're out).
# Test cases
**Truthy:**
```
Yes.
It's noon.
Hello, World!
What is this?
Ain't no thang!
Never say never.
No, it's noon now.
Neither me nor you.
I didn't do nothing!
No, I am your father.
A non-alcoholic drink.
I can't get no satisfaction.
All your base are belong to us.
```
**Falsey:**
```
No.
No, no!
Not today.
Neither am I.
Don't do that!
That's no moon!
And none survived.
Is this not my car?
No man is an island.
Nosebleeds are no fun.
Nothing compares to you.
That's a no, I'm afraid.
No, I am not your mother.
```
The irony here, of course, is that some of these *should* be interpreted differently. But hey, you can't fault the speaker for not conforming to our logic.
# Rules
Standard [loopholes](https://codegolf.meta.stackexchange.com/questions/1061/loopholes-that-are-forbidden-by-default) are forbidden. This is [code-golf](/questions/tagged/code-golf "show questions tagged 'code-golf'"), so be concise!
  
[Answer]
## [Retina](https://github.com/m-ender/retina), 63 bytes
```
No,
Mi`\bn(e(ith|v)er|o(|body|ne|r|t|thing|where))\b|n't\b
0|2
```
[Try it online!](https://tio.run/##RVBBagMxDLz7FcqhJIF0Kf1BoNDm0JwKpZBDtGsla@qViu3dsOC/p7KT0ouwhxnNjAIlx3h9WL0er3vZGPPujoeWV7Ryqc/TmkKWVW7Fzpkph5xy6h2f86WnQOv1oc28TIfWPOXn6/WLYmN2aRmBRbgxb@S9bOBTgrcLs6eJAkScgcurMVunWqVC6pHPSlCu@1PruDSq0RiqGkj/AWYZ1QCss0VpRcEa56bdAQ6FEuCERaUOSuBH9J304l0HNjj@Lhs6LAvOVO0jJhdP2CVXQm@9vy1pMRJgIGjJC58hCYzaby9NdWMprklhi/N/Uo2wa8yL3ANqtbQwHzprLxi02sJs2ZZkBHEMk5vIlpUwIIOLUKdHrmCk1hPZWIOo/jRygWtr6GT4UTyWaPU0dx9Upp5jOQCeAjrb/J9HD3ZrN0g90S8 "Retina – Try It Online")
### Explanation
```
No,
```
Remove `No,` from the input. Due to the capitalisation rules, this can only appear at the beginning of the input, so we don't need an explicit `^`.
```
Mi`\bn(e(ith|v)er|o(|body|ne|r|t|thing|where))\b|n't\b
```
Count the number of matches of the case-insensitive regex after the ```. It just matches all the relevant words, where I've extracted common prefixes/suffixes with the alternatives.
```
0|2
```
Count `0` or `2`s, so we turn even counts into `1` and odd counts into `0`.
[Answer]
# Bash, ~~115~~ ~~107~~ ~~99~~ ~~98~~ ~~97~~ ~~95~~ 85 bytes
Uses packages Core Utilities (for `wc`) and `grep`. Assume the sentence is given via Standard Input. **History expansion is disabled by `set +o histexpand`.**
```
((~`grep -Pio "(?!^no,)\b(no(|t|r|ne|body|thing|where)|ne(v|ith)er|.*n't)\b"|wc -l`%2))
```
Check the result: In Bash 0 is for true, 1 is for false
### How does it work?
```
((                       )) # Logical evaluation: non-zero to TRUE, zero to FALSE
  ~                    %2   # C-style arithmetic: Bit-Negate and Modulus 2
   $(                 )     # Output of the program chain
     grep -Pio "regex"      # PCRE match, ignore case, output matching part one-per-line
     | wc -l                # Pipe to `wc` and count number of lines
```
---
18 bytes (115 to 99) saved by inspiration from [*Qwertiy*'s answer](/a/148742/71806) and [*Martin Ender*'s answer](/a/148743/71806). 1 byte thanks to [*Nahuel Fouilleul*](/u/70745).
[Answer]
# Javascript ES6, ~~89~~ ~~87~~ 86 chars
```
s=>s.match(/(?!^no,)\bn(o(|t|r|ne|body|thing|where)|e(v|ith)er)\b|n't\b|$/ig).length&1
```
## Test:
```
f=s=>s.match(/(?!^no,)\bn(o(|t|r|ne|body|thing|where)|e(v|ith)er)\b|n't\b|$/ig).length&1
console.log(`Yes.
It's noon.
Hello, World!
Never say never.
Ain't no thang!
No, it's noon now.
Neither me nor you.
I didn't do nothing!
No, I am your father.
A non-alcoholic drink.
I can't get no satisfaction.
All your base are belong to us.`.split`
`.every(f))
console.log(`No.
No, no!
Not today.
Neither am I.
Don't do that!
That's no moon!
And none survived.
No man is an island.
Nosebleeds are no fun.
Nothing compares to you.
That's a no, I'm afraid.
No, I am not your mother.`.split`
`.every(s=>!f(s)))
```
[Answer]
## [Perl 5](https://www.perl.org/), 74 bytes
**73 bytes code + 1 for `-p`.**
```
s/No,//;$_=!(s/(\bn(o(r|t|ne|body|thing|where)?|e(v|ith)er)|n't)\b//gi%2)
```
[Try it online!](https://tio.run/##RZFBa@QwDIXv/hUKdJkEpgks9FTKMrCHzmVOC0uhUJRYk5g61mA7GQby2zeVnVl6EcmL9PTp5ULePq1raE68b5rnh4@XogxN@d66kku/xMXR0rK@LXEwrl@uA3mqfi1UzouJQ0W@WtwuVu9t0/Tmx89qXd8o1OoYdwEcs6vVK1nLe/jL3upCHYy0yxeIA7q@UCeayUPAG7j0VCvhAPN/WspVJJJV0jWSvHu48SQLQBudrDSLmOGKPHsEHFOLhzOmqVodpME9ou14YGs60N64z@TQYTLoKfMEjCacsYsmQR@s3UxaDAToCVqy7HqIDFNIlBup47Q1iqzx9k0qCMda/eY7oNwaC/VHar4LRjlNonA6kRGEyc9mJp0sYUQHJkCuFl0WA7WWSIcMIvPnySU5Xw0djxfRQ0LL0dz3oHRKHLsR8OzR6Po7Hglsu27kLaI3nmDAOZt38mM6Sm53rr0wfdI2EM1ItfrHlxRTWB8v9gs "Perl 5 – Try It Online")
]