Type | Bug | Status | built | Date | 5-Feb-2010 21:36 |
---|---|---|---|---|---|
Version | alpha 96 | Category | Parse | Submitted by | BrianH |
Platform | All | Severity | minor | Priority | high |
Summary | PARSE string TO or THRU bitset doesn't do anything |
---|---|
Description | If you PARSE a string and try to match the TO or THRU operations with a bitset argument it doesn't do anything. It doesn't search for characters in the bitset, it doesn't advance the position, and it doesn't fail. It just succeeds and moves on. The /case option doesn't affect this. |
Example code |
>> a: charset "a" == make bitset! #{00000000000000000000000040} >> parse "a" [thru a] == false ; should be true >> parse "a" [thru a skip] == true ; should be false, proves that it succeeds and doesn't advance >> parse "a" [and thru a skip] == true ; proves that it succeeds and doesn't advance >> parse "ba" [to a skip] == false ; should be true >> parse "ba" [to a "ba"] == true ; should be false >> parse/case "a" [thru a] == false ; still doesn't work with /case |
Assigned to | n/a | Fixed in | r3 master | Last Update | 7-Mar-2014 18:53 |
---|
Comments | |
---|---|
(0004292)
giuliolunati 2-Mar-2014 09:27 |
Submitted patch (PR #195) |
(0004350)
abolka 7-Mar-2014 18:53 |
Fixed in: https://github.com/rebol/rebol/pull/195 |
Date | User | Field | Action | Change |
---|---|---|---|---|
7-Mar-2014 18:53 | abolka | Comment : 0004350 | Added | - |
4-Mar-2014 06:45 | BrianH | Fixedin | Modified | => r3 master |
4-Mar-2014 06:45 | BrianH | Status | Modified | submitted => built |
2-Mar-2014 09:27 | giuliolunati | Comment : 0004292 | Added | - |
2-Nov-2010 05:23 | BrianH | Code | Modified | - |
5-Feb-2010 21:36 | BrianH | Ticket | Added | - |