[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: string.find() question
- From: Lev <leventelist@...>
- Date: Tue, 5 Sep 2017 21:43:25 +0200
Hi all,
I have some issues with string.find().
What do I miss?
$ lua5.3
Lua 5.3.3 Copyright (C) 1994-2016 Lua.org, PUC-Rio
> str='--d8eb6ad5-707f-4518-8de9-0a339383199b--'
> return string.find(str, '--d8eb6ad5-707f')
nil
> return string.find(str, '--d8eb6ad5-')
1 9
> return string.find(str, '--d8eb6ad5-7')
nil
>
I've tried that with 5.1, 5.2 and 5.3. All on Debian Stable, and also with 5.1 on some embedded platform on LEDE 17.01.1. Same result.
Any help welcome.
Thanks,
Levente