I think this is the way that rxmatches works, it iterates by
beheading the right argument so that ^B match 3 times.
Not sure this is a bug or a feature.

Чт, 10 дек 2015, Ryan Eckbo написал(а):
> I believe there should only be one match.  Why are there 3?
> 
> load'regex'
> '^B' rxmatches 'BBB my sentence'
> 0 1
> 
> 1 1
> 
> 2 1
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to