Re: [Pyparsing] need help building parsing framework for disability access tool
Brought to you by:
ptmcg
From: Eric S.. J. <es...@es...> - 2012-09-15 08:12:22
|
ok figured out how to inject text. the code looks like this: LBRACK,RBRACK = map(Suppress,'[]') escapedChar = Combine('\\' + oneOf(list(printables))) keyword = Word(alphas,alphanums).setName("keyword").setDebug() argword = Word(alphas,alphanums).setName("argword").setDebug() arg = Forward() dss = Forward() text = ZeroOrMore(escapedChar | originalTextFor(OneOrMore(Word(printables,excludeChars='[]"\'\\'))) | quotedString | dss) arg << Group(LBRACK + argword("arg") + Group(text)("text") + RBRACK) arg.setName("arg").setDebug() dss << Group(LBRACK + keyword("keyword") + Group(ZeroOrMore(arg))("args") + Group(text)("text") + RBRACK) parser = ZeroOrMore(dss) print vacation_test j = "" for i in parser.parseString(vacation_test): print "i, j =", str(i), str(j) I get the below which is only the first few lines. why not the rest? i, j = ['script', [['url', ['/files/tw-sack.js']]], []] i, j = ['script', [['url', ['/files/logic.js']]], []] i, j = ['script', [['url', ['/files/ak_vacation.js']]], []] i, j = ['script', [['body', ['onload=', '"doSomething()"']]], []] i, j = ['title', [], ['Out-of-Office E-mail Setup']] why?? Exception raised:Expected "[" (at char 64), (line:6, col:1) why does: [heading [level 2] User Account: [reveal active_user]] present as from debugging: Matched arg -> [['heading', [['level', [], ['2']], 'User Account:', ['reveal', [], ['active_user']]]]] specifically, heading is a keyword, why the blank "[]", after level and reveal? arguments don't have arguments, they only have text. I added a bit of story text and it "vanished" instead of being captured so I could auto paragraph it. [heading [level 1] Out-of-Office E-mail Setup] now is the time for all vacation form to come to the rescue of your vacay form [heading [level 2] User Account: [reveal active_user]] debugging logs below Match keyword at loc 2(2,2) Matched keyword -> ['script'] Match arg at loc 17(3,8) Match argword at loc 18(3,9) Matched argword -> ['url'] Matched arg -> [['url', ['/files/tw-sack.js']]] Match arg at loc 63(5,1) Exception raised:Expected "[" (at char 64), (line:6, col:1) Match keyword at loc 67(7,2) Matched keyword -> ['script'] Match arg at loc 82(8,8) Match argword at loc 83(8,9) Matched argword -> ['url'] Matched arg -> [['url', ['/files/logic.js']]] Match arg at loc 126(10,1) Exception raised:Expected "[" (at char 127), (line:11, col:1) Match keyword at loc 130(12,2) Matched keyword -> ['script'] Match arg at loc 145(13,8) Match argword at loc 146(13,9) Matched argword -> ['url'] Matched arg -> [['url', ['/files/ak_vacation.js']]] Match arg at loc 195(15,1) Exception raised:Expected "[" (at char 196), (line:16, col:1) Match keyword at loc 199(17,2) Matched keyword -> ['script'] Match arg at loc 214(18,8) Match argword at loc 215(18,9) Matched argword -> ['body'] Matched arg -> [['body', ['onload=', '"doSomething()"']]] Match arg at loc 266(20,1) Exception raised:Expected "[" (at char 267), (line:21, col:1) Match keyword at loc 271(23,2) Matched keyword -> ['title'] Match arg at loc 277(23,8) Exception raised:Expected "[" (at char 277), (line:23, col:8) Match keyword at loc 306(24,2) Matched keyword -> ['div'] Match arg at loc 310(24,6) Match argword at loc 311(24,7) Matched argword -> ['id'] Matched arg -> [['id', ['wrapper']]] Match arg at loc 322(24,1) Match argword at loc 324(25,2) Matched argword -> ['heading'] Match keyword at loc 333(25,11) Matched keyword -> ['level'] Match arg at loc 339(25,17) Exception raised:Expected "[" (at char 339), (line:25, col:17) Matched arg -> [['heading', [['level', [], ['1']], 'Out-of-Office E-mail Setup']]] Match arg at loc 369(25,1) Match argword at loc 372(27,2) Matched argword -> ['heading'] Match keyword at loc 381(27,11) Matched keyword -> ['level'] Match arg at loc 387(27,17) Exception raised:Expected "[" (at char 387), (line:27, col:17) Match keyword at loc 405(27,35) Matched keyword -> ['reveal'] Match arg at loc 412(27,42) Exception raised:Expected "[" (at char 412), (line:27, col:42) Matched arg -> [['heading', [['level', [], ['2']], 'User Account:', ['reveal', [], ['active_user']]]]] Match arg at loc 425(27,1) Match argword at loc 427(28,2) Matched argword -> ['span'] Match keyword at loc 433(28,8) Matched keyword -> ['class'] Match arg at loc 439(28,14) Exception raised:Expected "[" (at char 439), (line:28, col:14) Matched arg -> [['span', [['class', [], ['label']], 'Please answer the following questions in order to complete the setup\nof your out-of-office mode. Please note that you must login and\ndisable this mode once you return from vacation.']]] Match arg at loc 627(30,1) Match argword at loc 630(32,2) Matched argword -> ['comment'] Matched arg -> [['comment', ['preserve active user']]] Match arg at loc 659(32,1) Match argword at loc 661(33,2) Matched argword -> ['reveal'] Matched arg -> [['reveal', ['administrative_instructions']]] Match arg at loc 696(33,1) Match argword at loc 698(34,2) Matched argword -> ['reveal'] Matched arg -> [['reveal', ['administrative_incremental']]] Match arg at loc 732(34,1) Match argword at loc 734(35,2) Matched argword -> ['div'] Match keyword at loc 739(35,7) Matched keyword -> ['id'] Match arg at loc 742(35,10) Exception raised:Expected "[" (at char 742), (line:35, col:10) Match keyword at loc 751(35,19) Matched keyword -> ['class'] Match arg at loc 757(35,25) Exception raised:Expected "[" (at char 757), (line:35, col:25) Match keyword at loc 763(35,31) Matched keyword -> ['reveal'] Match arg at loc 770(35,38) Exception raised:Expected "[" (at char 770), (line:35, col:38) Matched arg -> [['div', [['id', [], ['account']], ['class', [], ['data']], ['reveal', [], ['administrative_display']]]]] Match arg at loc 794(35,1) Match argword at loc 797(37,2) Matched argword -> ['reveal'] Matched arg -> [['reveal', ['administrative_interface']]] Match arg at loc 829(37,1) Match argword at loc 832(39,2) Matched argword -> ['form'] Match keyword at loc 839(39,9) Matched keyword -> ['id'] Match arg at loc 842(39,12) Exception raised:Expected "[" (at char 842), (line:39, col:12) Match keyword at loc 864(40,9) Matched keyword -> ['action'] Match arg at loc 871(40,16) Exception raised:Expected "[" (at char 871), (line:40, col:16) Match keyword at loc 894(41,9) Matched keyword -> ['method'] Match arg at loc 901(41,16) Exception raised:Expected "[" (at char 901), (line:41, col:16) Match keyword at loc 909(43,2) Matched keyword -> ['hidden'] Match arg at loc 916(43,9) Match argword at loc 917(43,10) Matched argword -> ['id'] Matched arg -> [['id', ['active_user']]] Match arg at loc 932(43,25) Match argword at loc 933(43,26) Matched argword -> ['name'] Matched arg -> [['name', ['active_user']]] Match arg at loc 950(43,43) Match argword at loc 952(43,45) Matched argword -> ['value'] Match keyword at loc 959(43,52) Matched keyword -> ['reveal'] Match arg at loc 966(43,59) Exception raised:Expected "[" (at char 966), (line:43, col:59) Matched arg -> [['value', [['reveal', [], ['active_user']]]]] Match arg at loc 979(43,72) Exception raised:Expected "[" (at char 979), (line:43, col:72) Match keyword at loc 982(44,2) Matched keyword -> ['span'] Match arg at loc 987(44,7) Match argword at loc 988(44,8) Matched argword -> ['class'] Matched arg -> [['class', ['label']]] Match arg at loc 1000(44,20) Exception raised:Expected "[" (at char 1000), (line:44, col:20) Match keyword at loc 1041(45,2) Matched keyword -> ['radio'] Match arg at loc 1047(45,8) Match argword at loc 1048(45,9) Matched argword -> ['class'] Matched arg -> [['class', ['textentry']]] Match arg at loc 1064(45,25) Match argword at loc 1066(45,27) Matched argword -> ['name'] Matched arg -> [['name', ['active_checked']]] Match arg at loc 1086(45,47) Match argword at loc 1087(45,48) Matched argword -> ['rawbits'] Matched arg -> [['rawbits', ['onclick=', '"javascript:showField(\'message\');showField(\'exceptions\');"']]] Match arg at loc 1163(45,1) Match argword at loc 1165(46,2) Matched argword -> ['value'] Matched arg -> [['value', ['on']]] Match arg at loc 1174(46,11) Match argword at loc 1175(46,12) Matched argword -> ['checked'] Match keyword at loc 1184(46,21) Matched keyword -> ['reveal'] Match arg at loc 1191(46,28) Exception raised:Expected "[" (at char 1191), (line:46, col:28) Matched arg -> [['checked', [['reveal', [], ['enabled']]]]] Match arg at loc 1200(46,37) Exception raised:Expected "[" (at char 1200), (line:46, col:37) Match keyword at loc 1210(47,2) Matched keyword -> ['radio'] Match arg at loc 1216(47,8) Match argword at loc 1217(47,9) Matched argword -> ['class'] Matched arg -> [['class', ['textentry']]] Match arg at loc 1233(47,1) Match argword at loc 1242(48,9) Matched argword -> ['name'] Matched arg -> [['name', ['active_checked']]] Match arg at loc 1262(48,1) Match argword at loc 1271(49,9) Matched argword -> ['rawbits'] Matched arg -> [['rawbits', ['onclick=', '"javascript:hideField(\'message\');hideField(\'exceptions\');"']]] Match arg at loc 1346(49,1) Match argword at loc 1355(50,9) Matched argword -> ['value'] Matched arg -> [['value', ['off']]] Match arg at loc 1365(50,1) Match argword at loc 1374(51,9) Matched argword -> ['checked'] Match keyword at loc 1383(51,18) Matched keyword -> ['reveal'] Match arg at loc 1390(51,25) Exception raised:Expected "[" (at char 1390), (line:51, col:25) Match keyword at loc 1400(51,35) Matched keyword -> ['default'] Match arg at loc 1408(51,43) Exception raised:Expected "[" (at char 1408), (line:51, col:43) Matched arg -> [['checked', [['reveal', [], ['disabled', ['default', [], ['off']]]]]]] Match arg at loc 1414(51,1) Exception raised:Expected "[" (at char 1422), (line:52, col:8) Match keyword at loc 1434(54,2) Matched keyword -> ['div'] Match arg at loc 1438(54,6) Match argword at loc 1439(54,7) Matched argword -> ['id'] Matched arg -> [['id', ['message']]] Match arg at loc 1450(54,18) Match argword at loc 1452(54,20) Matched argword -> ['class'] Matched arg -> [['class', ['normal']]] Match arg at loc 1465(54,1) Match argword at loc 1467(55,2) Matched argword -> ['span'] Match keyword at loc 1473(55,8) Matched keyword -> ['class'] Match arg at loc 1479(55,14) Exception raised:Expected "[" (at char 1479), (line:55, col:14) Matched arg -> [['span', [['class', [], ['label']], 'Enter all of your e-mail addresses in this box, one address on a line']]] Match arg at loc 1555(55,1) Match argword at loc 1558(57,2) Matched argword -> ['div'] Match keyword at loc 1563(57,7) Matched keyword -> ['class'] Match arg at loc 1569(57,13) Exception raised:Expected "[" (at char 1569), (line:57, col:13) Match keyword at loc 1578(58,2) Matched keyword -> ['textarea'] Match arg at loc 1587(59,1) Match argword at loc 1588(59,2) Matched argword -> ['reveal'] Matched arg -> [['reveal', ['addresses']]] Match arg at loc 1605(59,1) Match argword at loc 1607(60,2) Matched argword -> ['class'] Matched arg -> [['class', ['data']]] Match arg at loc 1618(60,1) Match argword at loc 1620(61,2) Matched argword -> ['name'] Matched arg -> [['name', ['addresses']]] Match arg at loc 1635(61,1) Match argword at loc 1637(62,2) Matched argword -> ['rows'] Matched arg -> [['rows', ['5']]] Match arg at loc 1644(62,1) Match argword at loc 1646(63,2) Matched argword -> ['columns'] Matched arg -> [['columns', ['50']]] Match arg at loc 1657(63,1) Exception raised:Expected "[" (at char 1658), (line:64, col:1) Matched arg -> [['div', [['class', [], ['center']], ['textarea', [['reveal', ['addresses']], ['class', ['data']], ['name', ['addresses']], ['rows', ['5']], ['columns', ['50']]], []]]]] Match arg at loc 1660(64,1) Match argword at loc 1663(66,2) Matched argword -> ['span'] Match keyword at loc 1669(66,8) Matched keyword -> ['class'] Match arg at loc 1675(66,14) Exception raised:Expected "[" (at char 1675), (line:66, col:14) Matched arg -> [['span', [['class', [], ['label']], 'I want the message to say:']]] Match arg at loc 1708(66,1) Match argword at loc 1711(68,2) Matched argword -> ['div'] Match keyword at loc 1716(68,7) Matched keyword -> ['class'] Match arg at loc 1722(68,13) Exception raised:Expected "[" (at char 1722), (line:68, col:13) Match keyword at loc 1731(69,2) Matched keyword -> ['textarea'] Match arg at loc 1740(70,1) Match argword at loc 1741(70,2) Matched argword -> ['class'] Matched arg -> [['class', ['data']]] Match arg at loc 1752(70,1) Match argword at loc 1754(71,2) Matched argword -> ['reveal'] Matched arg -> [['reveal', ['_raw message']]] Match arg at loc 1773(71,1) Match argword at loc 1775(72,2) Matched argword -> ['name'] Matched arg -> [['name', ['message']]] Match arg at loc 1788(72,1) Match argword at loc 1790(73,2) Matched argword -> ['rows'] Matched arg -> [['rows', ['7']]] Match arg at loc 1797(73,1) Match argword at loc 1799(74,2) Matched argword -> ['columns'] Matched arg -> [['columns', ['50']]] Match arg at loc 1810(74,1) Exception raised:Expected "[" (at char 1811), (line:75, col:1) Matched arg -> [['div', [['class', [], ['center']], ['textarea', [['class', ['data']], ['reveal', ['_raw message']], ['name', ['message']], ['rows', ['7']], ['columns', ['50']]], []]]]] Match arg at loc 1813(75,1) Match argword at loc 1816(77,2) Matched argword -> ['span'] Match keyword at loc 1821(77,7) Matched keyword -> ['class'] Match arg at loc 1827(77,13) Exception raised:Expected "[" (at char 1827), (line:77, col:13) Exception raised:Expected "]" (at char 1842), (line:77, col:28) Match keyword at loc 1816(77,2) Matched keyword -> ['span'] Match arg at loc 1820(77,6) Match argword at loc 1821(77,7) Matched argword -> ['class'] Matched arg -> [['class', ['label']]] Match arg at loc 1833(77,19) Exception raised:Expected "[" (at char 1834), (line:77, col:20) Exception raised:Expected "]" (at char 1433), (line:54, col:1) Match keyword at loc 832(39,2) Matched keyword -> ['form'] Match arg at loc 838(39,8) Match argword at loc 839(39,9) Matched argword -> ['id'] Matched arg -> [['id', ['account_data']]] Match arg at loc 855(39,1) Match argword at loc 864(40,9) Matched argword -> ['action'] Matched arg -> [['action', ['edit_vacation']]] Match arg at loc 885(40,1) Match argword at loc 894(41,9) Matched argword -> ['method'] Matched arg -> [['method', ['post']]] Match arg at loc 906(41,1) Match argword at loc 909(43,2) Matched argword -> ['hidden'] Match keyword at loc 917(43,10) Matched keyword -> ['id'] Match arg at loc 920(43,13) Exception raised:Expected "[" (at char 920), (line:43, col:13) Match keyword at loc 933(43,26) Matched keyword -> ['name'] Match arg at loc 938(43,31) Exception raised:Expected "[" (at char 938), (line:43, col:31) Match keyword at loc 952(43,45) Matched keyword -> ['value'] Match arg at loc 958(43,51) Match argword at loc 959(43,52) Matched argword -> ['reveal'] Matched arg -> [['reveal', ['active_user']]] Match arg at loc 978(43,71) Exception raised:Expected "[" (at char 978), (line:43, col:71) Matched arg -> [['hidden', [['id', [], ['active_user']], ['name', [], ['active_user']], ['value', [['reveal', ['active_user']]], []]]]] Match arg at loc 980(43,1) Match argword at loc 982(44,2) Matched argword -> ['span'] Match keyword at loc 988(44,8) Matched keyword -> ['class'] Match arg at loc 994(44,14) Exception raised:Expected "[" (at char 994), (line:44, col:14) Matched arg -> [['span', [['class', [], ['label']], 'I want the out-of-office notification:']]] Match arg at loc 1039(44,1) Match argword at loc 1041(45,2) Matched argword -> ['radio'] Match keyword at loc 1048(45,9) Matched keyword -> ['class'] Match arg at loc 1054(45,15) Exception raised:Expected "[" (at char 1054), (line:45, col:15) Match keyword at loc 1066(45,27) Matched keyword -> ['name'] Match arg at loc 1071(45,32) Exception raised:Expected "[" (at char 1071), (line:45, col:32) Match keyword at loc 1087(45,48) Matched keyword -> ['rawbits'] Match arg at loc 1095(45,56) Exception raised:Expected "[" (at char 1095), (line:45, col:56) Match keyword at loc 1165(46,2) Matched keyword -> ['value'] Match arg at loc 1171(46,8) Exception raised:Expected "[" (at char 1171), (line:46, col:8) Match keyword at loc 1175(46,12) Matched keyword -> ['checked'] Match arg at loc 1183(46,20) Match argword at loc 1184(46,21) Matched argword -> ['reveal'] Matched arg -> [['reveal', ['enabled']]] Match arg at loc 1199(46,36) Exception raised:Expected "[" (at char 1199), (line:46, col:36) Matched arg -> [['radio', [['class', [], ['textentry']], ['name', [], ['active_checked']], ['rawbits', [], ['onclick=', '"javascript:showField(\'message\');showField(\'exceptions\');"']], ['value', [], ['on']], ['checked', [['reveal', ['enabled']]], []], 'Enabled']]] Match arg at loc 1208(46,1) Match argword at loc 1210(47,2) Matched argword -> ['radio'] Match keyword at loc 1217(47,9) Matched keyword -> ['class'] Match arg at loc 1223(47,15) Exception raised:Expected "[" (at char 1223), (line:47, col:15) Match keyword at loc 1242(48,9) Matched keyword -> ['name'] Match arg at loc 1247(48,14) Exception raised:Expected "[" (at char 1247), (line:48, col:14) Match keyword at loc 1271(49,9) Matched keyword -> ['rawbits'] Match arg at loc 1279(49,17) Exception raised:Expected "[" (at char 1279), (line:49, col:17) Match keyword at loc 1355(50,9) Matched keyword -> ['value'] Match arg at loc 1361(50,15) Exception raised:Expected "[" (at char 1361), (line:50, col:15) Match keyword at loc 1374(51,9) Matched keyword -> ['checked'] Match arg at loc 1382(51,17) Match argword at loc 1383(51,18) Matched argword -> ['reveal'] Match keyword at loc 1400(51,35) Matched keyword -> ['default'] Match arg at loc 1408(51,43) Exception raised:Expected "[" (at char 1408), (line:51, col:43) Matched arg -> [['reveal', ['disabled', ['default', [], ['off']]]]] Match arg at loc 1413(51,48) Exception raised:Expected "[" (at char 1413), (line:51, col:48) Matched arg -> [['radio', [['class', [], ['textentry']], ['name', [], ['active_checked']], ['rawbits', [], ['onclick=', '"javascript:hideField(\'message\');hideField(\'exceptions\');"']], ['value', [], ['off']], ['checked', [['reveal', ['disabled', ['default', [], ['off']]]]], []], 'Disabled']]] Match arg at loc 1431(52,1) Match argword at loc 1434(54,2) Matched argword -> ['div'] Match keyword at loc 1439(54,7) Matched keyword -> ['id'] Match arg at loc 1442(54,10) Exception raised:Expected "[" (at char 1442), (line:54, col:10) Match keyword at loc 1452(54,20) Matched keyword -> ['class'] Match arg at loc 1458(54,26) Exception raised:Expected "[" (at char 1458), (line:54, col:26) Match keyword at loc 1467(55,2) Matched keyword -> ['span'] Match arg at loc 1472(55,7) Match argword at loc 1473(55,8) Matched argword -> ['class'] Matched arg -> [['class', ['label']]] Match arg at loc 1485(55,20) Exception raised:Expected "[" (at char 1485), (line:55, col:20) Match keyword at loc 1558(57,2) Matched keyword -> ['div'] Match arg at loc 1562(57,6) Match argword at loc 1563(57,7) Matched argword -> ['class'] Matched arg -> [['class', ['center']]] Match arg at loc 1576(57,1) Match argword at loc 1578(58,2) Matched argword -> ['textarea'] Match keyword at loc 1588(59,2) Matched keyword -> ['reveal'] Match arg at loc 1595(59,9) Exception raised:Expected "[" (at char 1595), (line:59, col:9) Match keyword at loc 1607(60,2) Matched keyword -> ['class'] Match arg at loc 1613(60,8) Exception raised:Expected "[" (at char 1613), (line:60, col:8) Match keyword at loc 1620(61,2) Matched keyword -> ['name'] Match arg at loc 1625(61,7) Exception raised:Expected "[" (at char 1625), (line:61, col:7) Match keyword at loc 1637(62,2) Matched keyword -> ['rows'] Match arg at loc 1642(62,7) Exception raised:Expected "[" (at char 1642), (line:62, col:7) Match keyword at loc 1646(63,2) Matched keyword -> ['columns'] Match arg at loc 1654(63,10) Exception raised:Expected "[" (at char 1654), (line:63, col:10) Matched arg -> [['textarea', [['reveal', [], ['addresses']], ['class', [], ['data']], ['name', [], ['addresses']], ['rows', [], ['5']], ['columns', [], ['50']]]]] Match arg at loc 1659(64,2) Exception raised:Expected "[" (at char 1659), (line:64, col:2) Match keyword at loc 1663(66,2) Matched keyword -> ['span'] Match arg at loc 1668(66,7) Match argword at loc 1669(66,8) Matched argword -> ['class'] Matched arg -> [['class', ['label']]] Match arg at loc 1681(66,20) Exception raised:Expected "[" (at char 1681), (line:66, col:20) Match keyword at loc 1711(68,2) Matched keyword -> ['div'] Match arg at loc 1715(68,6) Match argword at loc 1716(68,7) Matched argword -> ['class'] Matched arg -> [['class', ['center']]] Match arg at loc 1729(68,1) Match argword at loc 1731(69,2) Matched argword -> ['textarea'] Match keyword at loc 1741(70,2) Matched keyword -> ['class'] Match arg at loc 1747(70,8) Exception raised:Expected "[" (at char 1747), (line:70, col:8) Match keyword at loc 1754(71,2) Matched keyword -> ['reveal'] Match arg at loc 1760(71,8) Exception raised:Expected "[" (at char 1760), (line:71, col:8) Match keyword at loc 1775(72,2) Matched keyword -> ['name'] Match arg at loc 1780(72,7) Exception raised:Expected "[" (at char 1780), (line:72, col:7) Match keyword at loc 1790(73,2) Matched keyword -> ['rows'] Match arg at loc 1795(73,7) Exception raised:Expected "[" (at char 1795), (line:73, col:7) Match keyword at loc 1799(74,2) Matched keyword -> ['columns'] Match arg at loc 1807(74,10) Exception raised:Expected "[" (at char 1807), (line:74, col:10) Matched arg -> [['textarea', [['class', [], ['data']], ['reveal', [], ['_raw message']], ['name', [], ['message']], ['rows', [], ['7']], ['columns', [], ['50']]]]] Match arg at loc 1812(75,2) Exception raised:Expected "[" (at char 1812), (line:75, col:2) Match keyword at loc 1816(77,2) Matched keyword -> ['span'] Match arg at loc 1820(77,6) Match argword at loc 1821(77,7) Matched argword -> ['class'] Matched arg -> [['class', ['label']]] Match arg at loc 1833(77,19) Exception raised:Expected "[" (at char 1834), (line:77, col:20) Exception raised:Expected "]" (at char 1815), (line:77, col:1) Match keyword at loc 1434(54,2) Matched keyword -> ['div'] Match arg at loc 1438(54,6) Match argword at loc 1439(54,7) Matched argword -> ['id'] Matched arg -> [['id', ['message']]] Match arg at loc 1450(54,18) Match argword at loc 1452(54,20) Matched argword -> ['class'] Matched arg -> [['class', ['normal']]] Match arg at loc 1465(54,1) Match argword at loc 1467(55,2) Matched argword -> ['span'] Match keyword at loc 1473(55,8) Matched keyword -> ['class'] Match arg at loc 1479(55,14) Exception raised:Expected "[" (at char 1479), (line:55, col:14) Matched arg -> [['span', [['class', [], ['label']], 'Enter all of your e-mail addresses in this box, one address on a line']]] Match arg at loc 1555(55,1) Match argword at loc 1558(57,2) Matched argword -> ['div'] Match keyword at loc 1563(57,7) Matched keyword -> ['class'] Match arg at loc 1569(57,13) Exception raised:Expected "[" (at char 1569), (line:57, col:13) Match keyword at loc 1578(58,2) Matched keyword -> ['textarea'] Match arg at loc 1587(59,1) Match argword at loc 1588(59,2) Matched argword -> ['reveal'] Matched arg -> [['reveal', ['addresses']]] Match arg at loc 1605(59,1) Match argword at loc 1607(60,2) Matched argword -> ['class'] Matched arg -> [['class', ['data']]] Match arg at loc 1618(60,1) Match argword at loc 1620(61,2) Matched argword -> ['name'] Matched arg -> [['name', ['addresses']]] Match arg at loc 1635(61,1) Match argword at loc 1637(62,2) Matched argword -> ['rows'] Matched arg -> [['rows', ['5']]] Match arg at loc 1644(62,1) Match argword at loc 1646(63,2) Matched argword -> ['columns'] Matched arg -> [['columns', ['50']]] Match arg at loc 1657(63,1) Exception raised:Expected "[" (at char 1658), (line:64, col:1) Matched arg -> [['div', [['class', [], ['center']], ['textarea', [['reveal', ['addresses']], ['class', ['data']], ['name', ['addresses']], ['rows', ['5']], ['columns', ['50']]], []]]]] Match arg at loc 1660(64,1) Match argword at loc 1663(66,2) Matched argword -> ['span'] Match keyword at loc 1669(66,8) Matched keyword -> ['class'] Match arg at loc 1675(66,14) Exception raised:Expected "[" (at char 1675), (line:66, col:14) Matched arg -> [['span', [['class', [], ['label']], 'I want the message to say:']]] Match arg at loc 1708(66,1) Match argword at loc 1711(68,2) Matched argword -> ['div'] Match keyword at loc 1716(68,7) Matched keyword -> ['class'] Match arg at loc 1722(68,13) Exception raised:Expected "[" (at char 1722), (line:68, col:13) Match keyword at loc 1731(69,2) Matched keyword -> ['textarea'] Match arg at loc 1740(70,1) Match argword at loc 1741(70,2) Matched argword -> ['class'] Matched arg -> [['class', ['data']]] Match arg at loc 1752(70,1) Match argword at loc 1754(71,2) Matched argword -> ['reveal'] Matched arg -> [['reveal', ['_raw message']]] Match arg at loc 1773(71,1) Match argword at loc 1775(72,2) Matched argword -> ['name'] Matched arg -> [['name', ['message']]] Match arg at loc 1788(72,1) Match argword at loc 1790(73,2) Matched argword -> ['rows'] Matched arg -> [['rows', ['7']]] Match arg at loc 1797(73,1) Match argword at loc 1799(74,2) Matched argword -> ['columns'] Matched arg -> [['columns', ['50']]] Match arg at loc 1810(74,1) Exception raised:Expected "[" (at char 1811), (line:75, col:1) Matched arg -> [['div', [['class', [], ['center']], ['textarea', [['class', ['data']], ['reveal', ['_raw message']], ['name', ['message']], ['rows', ['7']], ['columns', ['50']]], []]]]] Match arg at loc 1813(75,1) Match argword at loc 1816(77,2) Matched argword -> ['span'] Match keyword at loc 1821(77,7) Matched keyword -> ['class'] Match arg at loc 1827(77,13) Exception raised:Expected "[" (at char 1827), (line:77, col:13) Exception raised:Expected "]" (at char 1842), (line:77, col:28) Match keyword at loc 1816(77,2) Matched keyword -> ['span'] Match arg at loc 1820(77,6) Match argword at loc 1821(77,7) Matched argword -> ['class'] Matched arg -> [['class', ['label']]] Match arg at loc 1833(77,19) Exception raised:Expected "[" (at char 1834), (line:77, col:20) |