Re: Regex start/end position of match?
Gerald via Digitalmars-d-learn Thu, 01 Oct 2015 09:55:50 -0700
Thanks Adam, that was the hint I needed. For a given RegexMatch
the pre().length() is essentially equivalent to the start
position and taking pre().length + hit.length() gives the end
position so I think this should be OK for my needs.
- Regex start/end position of match? Gerald via Digitalmars-d-learn
- Re: Regex start/end position of... Adam D. Ruppe via Digitalmars-d-learn
- Re: Regex start/end positio... Gerald via Digitalmars-d-learn