REBOL3 tracker
  0.9.12 beta
Ticket #0001964 User: anonymous

Project:



rss
TypeWish Statussubmitted Date25-Feb-2013 23:39
Versionr3 master CategoryDocumentation Submitted byabolka
PlatformAll Severityminor Prioritynormal

Summary Document PARSE `TO integer` and `THRU integer` operations
Description The PARSE keywords TO and THRU also take an integer! argument, which seems to effect absolute positioning. I couldn't find any documentation for these operations or their desired behaviour, hence this CC issue to keep around as a reminder.

Sources I checked:

- Rebol 3 Concepts: Parsing: Summary of Parse Operations
http://www.rebol.com/r3/docs/concepts/parsing-summary.html#section-7

- Rebol 2 /Core Users Guid: Parsing: Summary of Parse Operations
http://www.rebol.com/docs/core23/rebolcore-15.html#section-10.3

- Rebol 3 Parse Project Documentation
http://rebol.net/wiki/Parse_Project

- Rebol Programming Wikibook: Parse Expressions
http://en.wikibooks.org/wiki/REBOL_Programming/Language_Features/Parse/Parse_expressions
Example code
(Example output obtained using R2 2.7.8.)

>> parse "abcd" [to 3 "cd"]
== true

>> parse "abcd" [thru 3 "d"]
== true

>> parse "abcd" ["ab" to 1 "abcd"]
== true

Assigned ton/a Fixed in- Last Update26-Feb-2013 00:09


Comments

Date User Field Action Change
26-Feb-2013 00:09 abolka Description Modified -
26-Feb-2013 00:01 abolka Description Modified -
25-Feb-2013 23:41 abolka Description Modified -
25-Feb-2013 23:41 abolka Code Modified -
25-Feb-2013 23:39 abolka Ticket Added -