> Von: Martin Maechler [mailto:maech...@stat.math.ethz.ch]
> Gesendet: Mittwoch, 5. April 2017 11:15
>
> >
> > on Tue, 4 Apr 2017 08:45:30 + writes:
>
> > Dear Sirs,
> > while
>
> >> regexpr('(.{1,2})\\1', 'foo')
> > [1] 2
> > attr(,"match.length")
> > [1]
>
> on Tue, 4 Apr 2017 08:45:30 + writes:
> Dear Sirs,
> while
>> regexpr('(.{1,2})\\1', 'foo')
> [1] 2
> attr(,"match.length")
> [1] 2
> attr(,"useBytes")
> [1] TRUE
> yields the correct match, an incremented upper bound in
>> regexpr(
Dear Sirs,
while
> regexpr('(.{1,2})\\1', 'foo')
[1] 2
attr(,"match.length")
[1] 2
attr(,"useBytes")
[1] TRUE
yields the correct match, an incremented upper bound in
> regexpr('(.{1,3})\\1', 'foo')
[1] -1
attr(,"match.length")
[1] -1
attr(,"useBytes")
[1] TRUE
incorrectly yields no match.
R v