lua-users home
lua-l archive

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


In message <52DBFBD5.5050507@dkolf.de> you wrote:

> If you want it to return nil, make sure that your pattern does not match
> in this case.  You would simply have to change your definition of WORDS
> to require at least one captured word:
>
>   local WORDS = BLANK*(C(WORD)*BLANK)^1*END
>
> This should then work as expected.

Yes it does. Thanks.
-- 
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/