Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
10
votes
2
answers
727
views
Opposite of Alternatives
I was looking at this question (here) and I tried to find any thing gives the opposite of Alternatives. In other words, some pattern matching function that gives true when expression matches ALL patt …
0
votes
0
answers
67
views
How to correctly use PatternTest (?) [duplicate]
This works fine:
{3, -5, 2, 7, -6, 3} /. x_ /; x < 0 :> 0
(*{3, 0, 2, 7, 0, 3}*)
and this works fine:
{3, -5, 2, 7, -6, 3} /. _?Negative :> 0
(*{3, 0, 2, 7, 0, 3}*)
I am trying to use something …