Pattern problem


29 December 2022 - PtokaX (20th anniversary edition) released...
11 April 2017 - PtokaX released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX for Windows 10 IoT released...
3 September 2015 - PtokaX released...
16 August 2015 - PtokaX released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX released...
13 April 2014 - PtokaX released...
23 March 2014 - PtokaX testing version build 454 is available.
04 March 2014 - sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Pattern problem

Started by Leun, 27 January, 2008, 21:58:49

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.



What is the right pattern match for the code below?

for arg,value in string.gmatch(sLine,"(%b[])=(%b"")") do

Get this error:
[21:36] Syntax vliegen/bancatch.lua:209: ')' expected near '")"

I try to find all data between the " and "

["Message"]= "Warn who []double_trouble(155.06 Gb), minshare 100 Gb for movies\\Mr. & Mrs. Smith (2005)\\s"



Thnx Mutor !!
I'll give it a try :P



Thnx a lot Mutor!!

I get it work now:
I changed the function a little bit..
But the pattern is working :P
for arg,value in string.gmatch(sLine,"(%b[])=(%b\"\")") do



lol no its fine so.

My question wasn't clear I think, but your advise helped me out :D


SMF spam blocked by CleanTalk