Regent provides two distinct syntaxes for accessing regions.
Iteration Over Regions
The loop below iterates over pointers to the elements in the region. The loop index type (which is optional and shown only for
pedagogical purposes) records both the type that the pointer points to and the region that it points to.
Iteration Over Index Spaces
The loop below iterates over points in the index space, and is functionally equivalent to the example above. Since the loop variable is typed on the index space rather than a region, the index access operator  must be used to access the respective regions.