Timeline for String-manipulation bugs in v10.1
Current License: CC BY-SA 3.0
31 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:55 | history | edited | CommunityBot |
replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/
|
|
Aug 4, 2016 at 6:15 | history | edited | István Zachar | CC BY-SA 3.0 |
added 26 characters in body
|
Jul 29, 2015 at 11:32 | history | edited | István Zachar | CC BY-SA 3.0 |
added 113 characters in body
|
Jul 20, 2015 at 18:02 | history | edited | Karsten7 |
edited tags
|
|
Jul 20, 2015 at 16:55 | history | edited | Arnoud Buzing |
edited tags
|
|
Apr 15, 2015 at 17:16 | vote | accept | István Zachar | ||
Apr 7, 2015 at 17:15 | comment | added | Jinxed | @DanielLichtblau: I strongly second, what MrWizard put forth, although I am quite sure, that we have quite different usage patterns for Mathematica (and, of course: him being leagues more knowledgeable ;) ). | |
Apr 7, 2015 at 15:21 | history | edited | Szabolcs | CC BY-SA 3.0 |
added 112 characters in body
|
Apr 6, 2015 at 21:36 | answer | added | Stefan R | timeline score: 23 | |
Apr 4, 2015 at 5:13 | history | tweeted | twitter.com/#!/StackMma/status/584222223118000129 | ||
Apr 3, 2015 at 18:43 | comment | added | Mr.Wizard | @Daniel (2) Perhaps some day the directorial emphasis will change and the copious talents of you and your team will be brought to bear on aspects of the product that are more important to me, and as I perceive many like me. | |
Apr 3, 2015 at 18:41 | comment | added | Mr.Wizard | @Daniel (1) I sincerely apologize for any connotation of devaluing the work of you and your colleagues. Nevertheless it seems to me that from the top down there is a misplaced emphasis on new features over making existing ones work properly (fast and bug-free). 10.0.2 still feels a lot like a beta release; a 10.0.3 with the 10.1.0 bug fixes would be highly appreciated but I don't expect it will happen. If I can get that message across to Dr. Wolfram then my comment will have served its purpose. And I'll point out that my comment is attracting quite a few votes of agreement. | |
Apr 3, 2015 at 18:02 | comment | added | Daniel Lichtblau | (2) I will say I am concerned that colleagues who check MSE might be put off by comments that, at first glance, appear to belittle the long hours they've put in (yes, we really work lots of 70 minute hours). | |
Apr 3, 2015 at 18:01 | comment | added | Daniel Lichtblau | (1) Umm, @Mr. Wizard, I think it would be reasonable to say that 10.1 has, at a minimum, several hundred bug fixes. Insisting that no new ones get introduced is like insisting that the tides turn on demand. It's a complicated program and even the most experienced of developers will slip on occasion. | |
Apr 3, 2015 at 14:26 | comment | added | Jinxed |
@SimonWoods: You were right. Interesting however, that the Quit[] I issued before testing your workaround obviously did not suffice to clear the system cache.
|
|
Apr 3, 2015 at 14:23 | comment | added | Simon Woods |
@Jinxed, it works for me. Perhaps you saw a cached result? Could you try ClearSystemCache[] or a kernel reset and try again?
|
|
Apr 3, 2015 at 14:01 | comment | added | Jinxed |
@SimonWoods: Your workaround does not work for StringCases , since the function does not seem to make use of the change.
|
|
Apr 3, 2015 at 13:48 | comment | added | Jinxed |
@StefanR: and consequently also in StringCases["10230004050", Except["0", DigitCharacter]] or even more so in StringCases["010230004050", Except["0", DigitCharacter]] : {"0", "1", "2", "0", "0", "4", "5"} .
|
|
Apr 3, 2015 at 13:42 | comment | added | Jinxed |
@StefanR: (?<![^0])\\d is just plain wrong, since it means "match a digit, if it is not preceded by anything except 0", or in other words "match a digit, if it is preceded by start-of-line or 0". And this is exactly what happens in StringCases["10230004050", RegularExpression["(?<![^0])\\d"]] : {"1", "2", "0", "0", "4", "5"} .
|
|
Apr 3, 2015 at 11:27 | comment | added | Simon Woods |
As a temporary workaround the version 10.0.2 regex can be obtained by evaluating StringPattern`Dump`rules = StringPattern`Dump`rules /. "(?<!" -> "(?=";
|
|
Apr 2, 2015 at 22:22 | comment | added | Karsten7 | This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. | |
Apr 2, 2015 at 21:43 | history | edited | Szabolcs |
edited tags
|
|
Apr 2, 2015 at 21:36 | comment | added | Nasser |
I found, that WordCount, WordCounts, LetterCounts, CharacterCounts do nothing what do you mean by they do nothing? can you show examples? on my computer with 10.1 they don't do nothing, Example WordCount["word word word"] gives 3 and WordCounts["apple apple apple"] gives <|"apple" -> 3|> and LetterCounts["aaaaaaaaaa"] gives <|"a" -> 10|> Are you sure you have used these in version 10.1 and not 10.0.2?
|
|
Apr 2, 2015 at 21:28 | comment | added | Konstantin | Unfortunately, in Mathematica 10.1 a number of Text Analysis functions don't work at all. I found, that WordCount, WordCounts, LetterCounts, CharacterCounts do nothing and suppose, that there are another non-working functions. | |
Apr 2, 2015 at 20:10 | comment | added | Stefan R | @Szabolcs It might not be directly responsible, but the upgrade necessitated some code changes and some long-standing bugs were fixed. Some of these other changes might be responsible. The developers are investigating. | |
Apr 2, 2015 at 18:37 | comment | added | Szabolcs |
@StefanR I thought it was because the string pattern gets converted to a different regex, and not because the regex is handled differently. 10.1 produces (?<![^0]) and 10.0 produces (?=[^0]) . I haven't yet had time to look up what <! and = mean here, could you maybe clarify, if you're familiar with these construct? If I use the 10.0 regex translation in 10.1 with StringCases, I get the 10.0 behaviour.
|
|
Apr 2, 2015 at 16:19 | comment | added | Stefan R | @Szabolcs In 10.1.0 we upgraded the PCRE library used for much of the string pattern matching. This must have slipped through. Reported internally. | |
Apr 2, 2015 at 14:33 | comment | added | Szabolcs |
StringPattern`PatternConvert[Except["0", DigitCharacter]] gives a different result in 10.1.0. This is the place to look to find out why it happens. I don't have time to look up all the various bits needed to understand what the actual regexes do ...
|
|
Apr 2, 2015 at 14:31 | comment | added | Mr.Wizard | We needed a 10.0.3 with more bug fixes, not a 10.1 with new bugs! >:-@ | |
Apr 2, 2015 at 14:27 | answer | added | Michael Hale | timeline score: 8 | |
Apr 2, 2015 at 14:22 | history | asked | István Zachar | CC BY-SA 3.0 |