What's the right way to test if regex.match() hits or not?
    Jarrett Billingsley 
    jarrett.billingsley at gmail.com
       
    Tue Jun  2 09:30:42 PDT 2009
    
    
  
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.
    
    
More information about the Digitalmars-d-learn
mailing list