linkagent wrote:

> 
> Correct me if I am wrong;
> Therefore am I right to say that the matching sequence starts from the back
> first (which is not what I read from the books about matching / /).
> 
> i.e in the following match /(\d*)(\d{4})(\d{5})$/
> the regexes look for $ first;
> then followed by (\d{5}) ;
> then followed by (\d{4})
> then (\d*)


To the best of my knowledge, the engine always starts at the front.

Anchoring at the back makes the back-tracking easier/simpler.

-- 
   ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
  (_/   /  )    // //       DBE Collectibles   Mailto:[EMAIL PROTECTED]
   / ) /--<  o // //      http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/_<_</_</_     Castle of Medieval Myth & Magic http://www.todbe.com/

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to