Timeline for Selective deletions from a list
Current License: CC BY-SA 4.0
17 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 25 at 0:35 | answer | added | eldo | timeline score: 2 | |
Sep 9, 2022 at 2:49 | comment | added | Suite401 | Yes kglr that works, thank you so much! | |
Sep 8, 2022 at 12:42 | comment | added | kglr |
try DeleteCases[Alternatives @@ ({_, ##, ___} & @@@ lis1)] @ lis2 ?
|
|
Sep 8, 2022 at 2:24 | comment | added | Suite401 | Thank you. Will do. | |
Sep 8, 2022 at 2:05 | comment | added | Syed |
Post-addendum: The pattern {"g","13","h","23"} is deleted from lis2 because it is present in lis1 . If you want to check for a complete signature match over a number of fields in lis2 then this could be another question. Right now any sub-sequence will result in a match, which is kind of limiting. In that case, I think the addendum can be posted as a new question.
|
|
Sep 7, 2022 at 16:49 | history | edited | Suite401 | CC BY-SA 4.0 |
added 1226 characters in body
|
Sep 7, 2022 at 16:21 | vote | accept | Suite401 | ||
Sep 7, 2022 at 16:35 | |||||
Sep 7, 2022 at 15:26 | vote | accept | Suite401 | ||
Sep 7, 2022 at 15:49 | |||||
Sep 7, 2022 at 6:39 | history | edited | Syed |
edited tags
|
|
Sep 7, 2022 at 6:31 | answer | added | Syed | timeline score: 6 | |
Sep 7, 2022 at 6:01 | answer | added | E. Chan-López | timeline score: 5 | |
Sep 7, 2022 at 6:00 | history | tweeted | twitter.com/StackMma/status/1567392240376451079 | ||
Sep 7, 2022 at 4:29 | history | edited | user64494 | CC BY-SA 4.0 |
edited body; edited title
|
Sep 7, 2022 at 2:15 | history | became hot network question | |||
Sep 6, 2022 at 18:27 | comment | added | Daniel Huber |
Try: Cases[lis2, Except[{___, PatternSequence["a", "b", "c", "d"], ___}]]
|
|
Sep 6, 2022 at 18:20 | answer | added | Nasser | timeline score: 7 | |
Sep 6, 2022 at 18:11 | history | asked | Suite401 | CC BY-SA 4.0 |