Limitation with current regex API

Mail Mantis mail.mantis.88 at gmail.com
Mon Jan 16 18:58:08 PST 2012


2012/1/17 Mail Mantis <mail.mantis.88 at gmail.com>:
> Correct me if I'm wrong, but wouldn't this be better:
> (m_captures[1].ptr - s.ptr) / s[0].sizeof;

No, it wouldn't. Somehow, I forgot the rules for pointer ariphmetics. Sorry.


More information about the Digitalmars-d mailing list