lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Is there any problem with changing the 'short's in lpeg.c to 'long's to 
> enable larger patterns? (Is there something else I'd have to change as 
> well?)

I guess it is ok to change that (although I never tested it). You have
to change also MAXPATTSIZE (of course...) and 'short idx' in struct
Capture.

Why do you need patterns that large? Can't you compact them?

-- Roberto