[SERVER-10345] regex search result difference copy/paste and manual type Created: 26/Jul/13 Updated: 10/Dec/14 Resolved: 05/Aug/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 2.4.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | telman shahbazov | Assignee: | Andre de Frere |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
telman@telman:~/Apps$ uname -a |
||
| Operating System: | Linux |
| Steps To Reproduce: | telman@telman:~$ uname -a telman@telman:~$ locale telman@telman:~$ mongo uysdb , , , ], ); db.dataBankCalculateFormulas.findOne( {"name" : "A.А=A.I+A.II"}) { , , ], //type A.A= by using keybord ) ) , |
| Participants: |
| Description |
|
there is difference when you search with regex. Could you please advice ? Regards, |
| Comments |
| Comment by Andre de Frere [ 05/Aug/13 ] |
|
Resolving this ticket since it appears that the earlier reproduction steps where matching on two different character sets and therefore this is as Works As Designed |
| Comment by Andre de Frere [ 31/Jul/13 ] |
|
Hi Telman, Checking in with you as it has been a couple of days since we heard back. Has this resolved your issue? Regards, |
| Comment by Andre de Frere [ 29/Jul/13 ] |
|
Hi Telman, It appears that you are searching on two different characters in your above steps to reproduce. In the original upsert you are inserting the "А" character which is U+0410 or Cyrillic Capital Letter A and not the standard capital A character. When you later search for this character you look for the standard capital A rather than the unicode character you have inserted. The two characters may look the same, but are not. If you intended to insert U+0410 then you will need to search for that character as well. If you did not intend to insert a unicode character into this formula, then you will need to update your collection so as to only include non-unicode characters. Regards, |