Re: multi line string search
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: multi line string search
- From: GrayFace <sergroj@...>
- Date: 2012年4月12日 13:48:09 +0700
On 12.04.2012 11:51, SAN THO wrote:
Hello,
I was looking for a multi line string search for a specific pattern,
Following is an example :
local str="this is sample text with lots of symbols
[test]<test>*test* and it's multiline too [10,000 words]"
local pattern=<test>
Use str:find("<test>", 1, true) for plain string search.
--
Best regards,
Sergey Rozhenko mailto:sergroj@mail.ru