> I understood that regex did backtracking

It only does backtracking when there are backreferences (which is
NP-complete and thus unavoidable).

Paolo


Reply via email to