{"ygPerms":{"resourceCapabilityList":[{"resourceType":"GROUP","capabilities":[{"name":"UPDATE"},{"name":"READ"},{"name":"WELCOME_MSG"},{"name":"PENDING_COUNT"},{"name":"ACTIVITY_LOGS"}]},{"resourceType":"PHOTO","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"UPLOAD"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"COPY"},{"name":"MOVE"},{"name":"APPROVE"},{"name":"UPLOADTEMP"},{"name":"GROUPCOVER"}]},{"resourceType":"FILE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"AUTO_SEND"}]},{"resourceType":"MEMBER","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"EDIT_MODERATOR"},{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"BAN"}]},{"resourceType":"LINK","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"MOVE_LINK"}]},{"resourceType":"CALENDAR","capabilities":[{"name":"READ"}]},{"resourceType":"DATABASE","capabilities":[{"name":"READ"},{"name":"READ_DATA"},{"name":"CREATE"}]},{"resourceType":"POLL","capabilities":[{"name":"READ"},{"name":"VOTE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"DELETE"},{"name":"CLOSE"}]},{"resourceType":"MESSAGE","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PENDING_MESSAGE","capabilities":[{"name":"READ"},{"name":"UPDATE"},{"name":"DELETE"}]},{"resourceType":"ATTACHMENTS","capabilities":[{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PHOTOMATIC_ALBUMS","capabilities":[{"name":"READ"},{"name":"UPLOAD"}]},{"resourceType":"MEMBERSHIP_TYPE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"DELETE"},{"name":"UPDATE"}]},{"resourceType":"POST","capabilities":[{"name":"READ"},{"name":"DELETE"},{"name":"UPDATE"},{"name":"CREATE"}]},{"resourceType":"PIN","capabilities":[{"name":"READ"},{"name":"DELETE"},{"name":"UPDATE"},{"name":"CREATE"}]}],"modStatus":"MODERATOR","subStatus":"NORMAL","groupUrl":"groups.yahoo.com","intlCode":"us"},"comscore":"pageview_candidate","ygData":{"userId":229380146,"authorName":"Jean-Christophe Helary","from":"Jean-Christophe Helary &lt;fusion@mx6.tiki.ne.jp&gt;","replyTo":"LIST","senderId":"GFIKUfkxijJ-xgVeFrZ13T4icvhZ3GjScvV_uIyrHSs65Cey_bvEEUQLF7qkIeaTH1ob3CaQv3Xz2DFfsp3V9E10e7nZyu14cJnDAJPryz6MjY1zoA","spamInfo":{"isSpam":false,"reason":"0"},"subject":"level2 small regex bug ?","postDate":"1160269716","msgId":6152,"canDelete":true,"contentTrasformed":false,"systemMessage":false,"headers":{"messageIdInHeader":"PDcwOUU4RDJCLTEwMDItNDY4NS1CN0FFLTE3Mzg1NTJEQTI0OEBteDYudGlraS5uZS5qcD4=","inReplyToHeader":"PDAwOGYwMWM2ZWE2ZCQwMDIxMTIyMCQwMzAwYThjMEBCcmVpemg+","referencesHeader":"PDAwOGYwMWM2ZWE2ZCQwMDIxMTIyMCQwMzAwYThjMEBCcmVpemg+"},"prevInTopic":6151,"nextInTopic":6153,"prevInTime":6151,"nextInTime":6153,"topicId":6093,"numMessagesInTopic":74,"msgSnippet":"I seem to have spotted a problem:   &lt;f0&gt; (5) &lt;/ f0&gt; &lt;bs1/&gt;","rawEmail":"Return-Path: &lt;fusion@mx6.tiki.ne.jp&gt;\r\nX-Sender: fusion@mx6.tiki.ne.jp\r\nX-Apparently-To: OmegaT@yahoogroups.com\r\nReceived: (qmail 96298 invoked from network); 8 Oct 2006 01:08:40 -0000\r\nReceived: from unknown (66.218.67.36)\n  by m35.grp.scd.yahoo.com with QMQP; 8 Oct 2006 01:08:40 -0000\r\nReceived: from unknown (HELO smtp8.tiki.ne.jp) (218.40.30.79)\n  by mta10.grp.scd.yahoo.com with SMTP; 8 Oct 2006 01:08:39 -0000\r\nReceived: from [192.168.11.4] (pl178.nas934.takamatsu.nttpc.ne.jp [210.136.196.178])\n\t(authenticated bits=0)\n\tby smtp8.tiki.ne.jp (8.12.11/8.12.11) with ESMTP id k9818b2J005328\n\t(version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO)\n\tfor &lt;OmegaT@yahoogroups.com&gt;; Sun, 8 Oct 2006 10:08:38 +0900 (JST)\n\t(envelope-from fusion@mx6.tiki.ne.jp)\r\nMime-Version: 1.0 (Apple Message framework v752.3)\r\nIn-Reply-To: &lt;008f01c6ea6d$00211220$0300a8c0@Breizh&gt;\r\nReferences: &lt;008f01c6ea6d$00211220$0300a8c0@Breizh&gt;\r\nContent-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed\r\nMessage-Id: &lt;709E8D2B-1002-4685-B7AE-1738552DA248@mx6.tiki.ne.jp&gt;\r\nContent-Transfer-Encoding: 7bit\r\nDate: Sun, 8 Oct 2006 10:08:36 +0900\r\nTo: OmegaT@yahoogroups.com\r\nX-Mailer: Apple Mail (2.752.3)\r\nX-Originating-IP: 218.40.30.79\r\nX-eGroups-Msg-Info: 1:0:0:0\r\nFrom: Jean-Christophe Helary &lt;fusion@mx6.tiki.ne.jp&gt;\r\nSubject: level2 small regex bug ?\r\nX-Yahoo-Group-Post: member; u=229380146; y=sQiqclpctOLcauq3CHk6K7Qx892SmGZp_MjZwBR3FIeUBeUcbw\r\n\r\nI seem to have spotted a problem:\n\n     &lt;tu&gt;\n       &lt;tuv lang=&quot;EN-US&quot;&gt;\n         &lt;seg&gt;&lt;bpt i=&#39;0&#39; x=&#39;0&#39;&gt;&lt;f0&gt;&lt;/bpt&gt;(5) &lt;ept i=&#39;0&#39;&gt;&lt;/ \nf0&gt;&lt;/ept&gt;&lt;bs1/&gt;&lt;bpt i=&#39;2&#39; x=&#39;2&#39;&gt;&lt;f2&gt;&lt;/ \nbpt&gt;blablabla&lt;ept i=&#39;2&#39;&gt;&lt;/f2&gt;&lt;/ept&gt;&lt;/seg&gt;\n       &lt;/tuv&gt;\n       &lt;tuv lang=&quot;FR-FR&quot;&gt;\n         &lt;seg&gt;&lt;bpt i=&#39;0&#39; x=&#39;0&#39;&gt;&lt;f0&gt;&lt;/bpt&gt;(5) &lt;ept i=&#39;0&#39;&gt;&lt;/ \nf0&gt;&lt;/ept&gt;&lt;bs1/&gt;&lt;bpt i=&#39;2&#39; x=&#39;2&#39;&gt;&lt;f2&gt;&lt;/ \nbpt&gt;bliblibli&lt;ept i=&#39;2&#39;&gt;&lt;/f2&gt;&lt;/ept&gt;&lt;/seg&gt;\n       &lt;/tuv&gt;\n     &lt;/tu&gt;\n\n\nwhere:\n\n1) &lt;bpt i=&#39;0&#39; x=&#39;0&#39;&gt;&lt;f0&gt;&lt;/bpt&gt;\n2) (5)\n3) &lt;ept i=&#39;0&#39;&gt;&lt;/f0&gt;&lt;/ept&gt;\n4) &lt;bs1/&gt;\n5) &lt;bpt i=&#39;2&#39; x=&#39;2&#39;&gt;&lt;f2&gt;&lt;/bpt&gt;\n6) blablabla\n7) &lt;ept i=&#39;2&#39;&gt;&lt;/f2&gt;&lt;/ept&gt;\n\nline 4 should be TMXized\n\nThis &quot;bs&quot; code comes from the &quot;new&quot; OOo support, namely it is a  \n&quot;&lt;text:bookmark-start&gt;&quot;.\n\nSo it may be that your regex is looking for single lettered codes for  \npairs and doubles for independent ones, in which case generalizing to  \n(1 or 2) letters for any tag should be able to catch everything.\n\nNow I was thinking about the level 2 &quot;import&quot; feature.\n\nI suggested that the &quot;header&quot; attribute [creationtool=&quot;OmegaT&quot;] could  \ntrigger a wiping out of the TMX codes so that the TMX can be used  \nwith the OmegaT codes right away.\n\nIs Didier&#39;s TMX maker dealing with tags ? in which case we could have  \na list of &quot;OmegaT compatible&quot; creationtool...\n\nRight now, using this attribute to decide what to do with the code  \nseems to be the easiest approach.\n\nWould that be hard to add to the current code ?\n\nIf that can be done, we don&#39;t need the &quot;project_name-omegat.tmx&quot; file  \nanymore at export. Only the &quot;project_name-level1.tmx&quot; and  \n&quot;project_name-level2.tmx&quot; :)\n\n(happy JC :)\n\nps: when you&#39;re done with level2, do you think you&#39;d have time to  \ncheck Martin&#39;s XLIFF code :) just asking :)\n\nJC :)\n\n"}}