lua-users home
lua-l archive

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


In message <[email protected]> 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 ([email protected])
Home page: http://www.wra1th.plus.com/