[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lpeg for one who is regexp-poisoned...
- From: meino.cramer@...
- Date: Wed, 12 Nov 2014 19:58:16 +0100
Roberto Ierusalimschy <roberto@inf.puc-rio.br> [14-11-12 19:53]:
> > is it correct to think of the LPeg way of matching like using regexp
> > always with /^......$/ (where ...... is the regexp itsself)?
>
> Only the '^'. A pattern in LPeg matches a prefix of the subject; it
> does not need to get the whole subject.
>
> -- Roberto
>
Hi Roberto,
Ah! Yeah! Thanks! :)
Best regards,
Meino