Skip to main content
16 events
when toggle format what by license comment
Apr 14, 2023 at 3:37 answer added Syed timeline score: 1
Mar 17, 2014 at 3:47 answer added murray timeline score: 0
Mar 16, 2014 at 13:41 answer added Mr.Wizard timeline score: 2
Mar 14, 2014 at 22:38 history tweeted twitter.com/#!/StackMma/status/444603518855700480
Mar 14, 2014 at 21:31 comment added Tim Vermeulen @RunnyKine Wow, looks good. Thanks!
Mar 14, 2014 at 21:26 comment added RunnyKine You can start here
Mar 14, 2014 at 21:23 vote accept Tim Vermeulen
Mar 14, 2014 at 21:22 comment added Tim Vermeulen @Szabolcs Yes! I hadn't thought of that. In general, I have trouble figuring out when to use | and when to use {...,...}, or when to use .. or ..., etcetera. Anything you'd recommend me to read? The official reference pages aren't very n00b-friendly.
Mar 14, 2014 at 21:19 comment added Szabolcs @timvermeulen OK, sounds good. I thought those characters would not be matched on some other OSs. Could you simply use Except[WordCharacter | "'" | "-"]?
Mar 14, 2014 at 21:16 answer added RunnyKine timeline score: 8
Mar 14, 2014 at 21:14 comment added Tim Vermeulen @Szabolcs I've edited my question, hope it makes sense now.
Mar 14, 2014 at 21:13 history edited Tim Vermeulen CC BY-SA 3.0
updated code, added output, clearer problem statement
Mar 14, 2014 at 21:11 comment added Tim Vermeulen @Szabolcs You're right, é is matched by WordCharacter, I must've had some other error in my code. The other problem persists: I don't want ' and - taken out. Is there any way I can change Except[WordCharacter].. to something similar to Except[{WordCharacter,Characters["'-"]}]..?
Mar 14, 2014 at 21:06 comment added Tim Vermeulen @RunnyKine I'd rather have it omit all non-letter characters (except for ' and -), as there are some pretty weird ones in these articles. I'd rather not have to specify them all manually.
Mar 14, 2014 at 20:49 comment added Szabolcs Can you give a short but complete example of the problem/difficulty you are seeing (i.e. code I can copy and and run directly), and mention what OS and what version of Mathematica you are using? I don't quite understand the question: what is the problem with é? WordCharacter does match it on my machine, as ToUpperCase/ToLowerCase work fine on it.
Mar 14, 2014 at 20:12 history asked Tim Vermeulen CC BY-SA 3.0