Re[2]: TB! v1.49 - newbie: quoting the output of a regexp
Hello Januk, On Friday, January 19, 2001 09:49:12 GMT -0800, you wrote the following in regards to 'TB! v1.49 - newbie: quoting the output of a regexp': Januk You need another single quote at the very end of this line. So it Januk becomes: Januk %WRAPPED='On %ODATEEN %QINCLUDE="OTIME", you wrote the following in regards to Januk ''%QINCLUDE="bracket"'':' Everything is working properly now, Januk, but I have one last question on this subject. When using the %WRAPPED macro, it does not seem to obey the starting position. See the 2nd [wrapped] line in the intro. Is it possible to have %WRAPPED wrap to the starting line position as TB! is doing automatically in this paragraph? -- Jan Rifkinson Ridgefield, CT USA PGP-Key 0x4C9CDF9D Using TB! v1.49 ICQ 41116329 -- __ Archives : http://tbudl.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] TBTech List: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] You are subscribed as : archive@jab.org
Re[2]: TB! v1.49 - newbie: quoting the output of a regexp
Hello TB! Listers, I am re-posting a msg I sent a couple of days ago in the hopes that one of you very helpful knowledgeable list members will take a stab @ solving a continuing problem. (or is this something that belongs on the new list?) I know I've included a lot of info but I didn't know how else to illustrate it. Many Thanks. JR -|| original message ||- On Wednesday, January 17, 2001 22:57:10 -0800 GMT you wrote the following in regards to TB! v1.49 - newbie: quoting the output of a regexp: JR so then my macro statement should look like this? JR %WRAPPED='On %ODATEEN %QINCLUDE="OTIME", you wrote the following in regards to %QINCLUDE='"bracket"':' JR (all on a single line) Januk Um, change that last %QInclude to: Januk ''%QINCLUDE="bracket"'' [excellent explanation snipped] I think I've included all the various directions but let me show you what the output of the template is: - TEMPLATE OUTPUT BEGINS - Hello Gretchen, (Bouvier AB entry) On Tuesday, January 16, 2001 23:41:09 -0500, you wrote the following in regards to 'touchy stomachnot': =Gretchen'Gretchen We have had 7 Bouviers and have never had one with a touchy stomach. I feed Gretchen a home made diet - -- signbouv" - TEMPLATE OUTPUT ENDS - And this is the template I used for this msg which is from a Bouvier eGroups list, i.e. includes [bouvier] in subject line. - TEMPLATE USED BEGINS - Hello %ABofromHANDLE='%ABofromFIRSTNAME="%OFROMFNAME"', (Bouvier AB entry) %WRAPPED='On %ODATEEN %QINCLUDE="OTIME", you wrote the following in regards to ''%QINCLUDE="bracket"'': %Quotestyle='=%ABofromHANDLE="%ABofromFIRSTNAME=""%OFROMFNAME""'%QUOTES %CURSOR - -- %QINCLUDE="signbouv" %ISSIGNATURE - TEMPLATE USED ENDS - The "(Bouvier AB entry)" is there so I can keep track of where the template is coming from as I refine my templates, etc. Otherwise: 1. The Intro line is not wrapped correctly (or at least the way I'd like it to appear (either justified left or justified would be fine but not an indented paragraph) 2. The quotation marks are now around the subject minus the brackets (thanks to you Allie) 3. The first line of the quoted text, i.e. %QUOTESTYLE output is a bit off. 4. The spacing between the intro line the %QUOTE area is compressed Many thanks for your continued help in this matter. -- Jan Rifkinson Ridgefield, CT USA PGP-Key 0x4C9CDF9D Using TB! v1.49 ICQ 41116329 -- __ Archives : http://tbudl.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] TBTech List: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] You are subscribed as : archive@jab.org
Re[2]: TB! v1.49 - newbie: quoting the output of a regexp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Januk, On Wednesday, January 17, 2001 22:57:10 -0800 GMT you wrote the following in regards to TB! v1.49 - newbie: quoting the output of a regexp: JR so then my macro statement should look like this? JR %WRAPPED='On %ODATEEN %QINCLUDE="OTIME", you wrote the following in regards to %QINCLUDE='"bracket"':' JR (all on a single line) Januk Um, change that last %QInclude to: Januk ''%QINCLUDE="bracket"'' [excellent explanation snipped] I think I've included all the various directions but let me show you what the output of the template is: - TEMPLATE OUTPUT BEGINS - Hello Gretchen, (Bouvier AB entry) On Tuesday, January 16, 2001 23:41:09 -0500, you wrote the following in regards to 'touchy stomachnot': =Gretchen'Gretchen We have had 7 Bouviers and have never had one with a touchy stomach. I feed Gretchen a home made diet - -- signbouv" - TEMPLATE OUTPUT ENDS - And this is the template I used for this msg which is from a Bouvier eGroups list, i.e. includes [bouvier] in subject line. - TEMPLATE USED BEGINS - Hello %ABofromHANDLE='%ABofromFIRSTNAME="%OFROMFNAME"', (Bouvier AB entry) %WRAPPED='On %ODATEEN %QINCLUDE="OTIME", you wrote the following in regards to ''%QINCLUDE="bracket"'': %Quotestyle='=%ABofromHANDLE="%ABofromFIRSTNAME=""%OFROMFNAME""'%QUOTES %CURSOR - -- %QINCLUDE="signbouv" %ISSIGNATURE - TEMPLATE USED ENDS - The "(Bouvier AB entry)" is there so I can keep track of where the template is coming from as I refine my templates, etc. Otherwise: 1. The Intro line is not wrapped correctly (or at least the way I'd like it to appear (either justified left or justified would be fine but not an indented paragraph) 2. The quotation marks are now around the subject minus the brackets (thanks to you Allie) 3. The first line of the quoted text, i.e. %QUOTESTYLE output is a bit off. 4. The spacing between the intro line the %QUOTE area is compressed Many thanks for your continued help in this matter. - -- Jan Rifkinson Ridgefield, CT USA PGP-Key 0x4C9CDF9D Using TB! v1.49 ICQ 41116329 -BEGIN PGP SIGNATURE- Version: PGP 6.5i iQA/AwUBOmWzpZccVS5MnN+dEQIQMQCfbHgq8zANZoV0fJF+WHQVwbPZDvYAoLDc CVoOkFz/I9yxOGRqbuMeeqbt =0MBo -END PGP SIGNATURE- -- -- View the TBUDL archive at http://tbudl.thebat.dutaint.com To send a message to the list moderation team double click here: mailto:[EMAIL PROTECTED] To Unsubscribe from TBUDL, double click here and send the message: mailto:[EMAIL PROTECTED] -- You are subscribed as : archive@jab.org
Re[2]: TB! v1.49 - newbie: quoting the output of a regexp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Allie, I'm going to take things a little out of order. On Tuesday, January 16, 2001 18:28:13 -0500 you wrote the following in regards to TB! v1.49 - newbie: quoting the output of a regexp: JR [...] I've tried the %WRAPPED= macro @ the JR head of the above line the result is the 2nd line moves to JR the left most position whereas the 1st line is indented by 2 JR spaces. What am I doing wrong or is this the anticipated result JR of %WRAPPED? Allie If you use the %Wrapped macro the line needs to be unbroken, i.e., Allie %Wrapped="this should be one unbroken line of text" Allie The syntax should be as follows: Allie %Wrapped='On %ODATEEN %QINCLUDE="otime", you wrote the following in Allie regards to %QINCLUDE="bracket":' This is exactly what I have you see the result above. I would have thought it would have wrapped to the starting margin, i.e. indented by 2 spaces (where I like it) rather than to the leftmost position permitted. I also tried the %WRAPJUSTIFY with the same result. Allie On Tue, 16 Jan 2001 09:10:03 -0500, Jan contributed this to our Allie collective wisdom: JR I was trying to put quotation marks around the output of the JR regexp "bracket" but it produces a blank. Can anyone show me JR the right way to express this the logic behind the form? JR On %ODATEEN %QINCLUDE="otime", you wrote the following in regards Allie ^ Allie this is fine. JR to %QINCLUDE="='bracket'": Allie Why not just %QINCLUDE="bracket": ? Yes, under normal circumstances that's what I would have but what I'm trying to accomplish is to have a "around the output of the RexExp 'bracket'". 'Bracket' strips the eGroups list identifier, ex: [LIST], leaving only the subject. So continuing with my example, let's say the subject line for this msg (were it on eGroups) it might be [TBUDL] TB! v1.49 - newbie quoting the output of a regexp In my template I have replaced %OSUBJ with %QINCLUDE="bracket" would like to see the subject produced as: On Tuesday, January 16, 2001 18:28:13 -0500 you wrote the following in regards to "TB! v1.49 - newbie: quoting the output of a regexp": Allie Why the extra '='? The extra '=' is needed for the %Quotestyle macro Allie specifically. IOW, the only time this convention is used is for a %QUOTESTYLE macro? OK, that's easy for me to remember. Allie If you create a macro that has a value attached to it, this value is Allie bound by double quotations. Allie %Macro="value" Allie Now, if you wish to define another macro *within* the value for a Allie macro, you have to place two quotations for every one that would Allie appears within the first macros value. Wow, confusing. :=) Allie Anyway, here is an example: Allie %Macro1="Macro2=""value""" Allie ^^ ^^ Allie Note the doubled double quotations. Allie To avoid having a lot of doubled quotations you can do this: Allie %Macro1='Macro2="value"' Allie Basically you need to differentiate the recursed macros value from Allie that of the parent macros. In one case you use doubled double Allie quotations or you use single quotes for the parent macro and double Allie quotes for the recursed macro. You've explained this very clearly, Allie, I understand the concept so then my macro statement should look like this? %WRAPPED='On %ODATEEN %QINCLUDE="OTIME", you wrote the following in regards to %QINCLUDE='"bracket"':' (all on a single line) - -- Jan Rifkinson Ridgefield, CT USA PGP-Key 0x4C9CDF9D Using TB! v1.49 ICQ 41116329 -BEGIN PGP SIGNATURE- Version: PGP 6.5i iQA/AwUBOmTxG5ccVS5MnN+dEQIwRACfU9XiINALmEh4gRaBNGpWm4VkAO8AoIzR 9/OSJup4Vr+zcfUuP3QTsCGl =YE7i -END PGP SIGNATURE- -- -- View the TBUDL archive at http://tbudl.thebat.dutaint.com To send a message to the list moderation team double click here: mailto:[EMAIL PROTECTED] To Unsubscribe from TBUDL, double click here and send the message: mailto:[EMAIL PROTECTED] -- You are subscribed as : archive@jab.org