What's the right way to test if regex.match() hits or not?
Russell Lewis
webmaster at villagersonline.com
Tue Jun 2 13:45:18 PDT 2009
Jarrett Billingsley wrote:
> On Tue, Jun 2, 2009 at 11:47 AM, Russell Lewis
> <webmaster at villagersonline.com> wrote:
>
>> Of course! But then, the code is harder to read. I'll bite the bullet and
>> move it above the loop, but it's ugly.
>>
>> And yeah, I know about CTFI and the issues there...I just thought that regex
>> was designed to allow CTFI. I guess I was wrong?
>
> For future reference, it's "CTFE", and I wasn't aware that regex was
> designed for it.
I kept looking at that acronym, and it just didn't look right...thanks
for the correction. :)
More information about the Digitalmars-d-learn
mailing list