Documentation for method
pos assembled from the following types:
Returns the current position as a string index into
Match.target for a regex match in progress:
my = 'abcdef';~~ /b. ../; say $/.pos; # OUTPUT: «3␤»
You should not use this method on finished Match, as the output can be implementation specific.
method pos(--> Int)
Gives the position into the string where the parsing failed.