{"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_DATA"},{"name":"CREATE"},{"name":"READ"}]},{"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":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"READ"}]},{"resourceType":"PIN","capabilities":[{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"READ"}]}],"modStatus":"MODERATOR","subStatus":"NORMAL","groupUrl":"groups.yahoo.com","intlCode":"us"},"comscore":"pageview_candidate","ygData":{"userId":261302706,"authorName":"anthony baldwin","from":"anthony baldwin &lt;anthony@baldwinlinguas.com&gt;","profile":"photodharma","replyTo":"LIST","senderId":"HvOYCjkJyuhsWsk48fheJTDRmsjX7BTxrn8HEnp5W4Q38mPZxHOj13Cjf0KlhcSrb-nYqRespa7hwhXho6xxdrm6R1Ghbwxg3EHFDvG-g38uJBY","spamInfo":{"isSpam":false,"reason":"12"},"subject":"Re: [OmT] segmentation help","postDate":"1210719296","msgId":10634,"canDelete":true,"contentTrasformed":false,"systemMessage":false,"headers":{"messageIdInHeader":"PDQ4MkExQzQwLjYwODA4MDdAYmFsZHdpbmxpbmd1YXMuY29tPg==","inReplyToHeader":"PEFPRUhLQ0tPSU9HUEdDTkxERUtCT0VMRUVIQUEuZC5icmllbEBmcmVlLmZyPg==","referencesHeader":"PEFPRUhLQ0tPSU9HUEdDTkxERUtCT0VMRUVIQUEuZC5icmllbEBmcmVlLmZyPg=="},"prevInTopic":10633,"nextInTopic":10635,"prevInTime":10633,"nextInTime":10635,"topicId":10629,"numMessagesInTopic":7,"msgSnippet":"... I ended up squaring that away, actually, shortly after I posted to the list. I ended up simply doing [X] before [        After [x] before           After","rawEmail":"Return-Path: &lt;anthony@baldwinlinguas.com&gt;\r\nX-Sender: anthony@baldwinlinguas.com\r\nX-Apparently-To: omegat@yahoogroups.com\r\nX-Received: (qmail 12924 invoked from network); 13 May 2008 22:54:59 -0000\r\nX-Received: from unknown (69.147.108.200)\n  by m36.grp.scd.yahoo.com with QMQP; 13 May 2008 22:54:59 -0000\r\nX-Received: from unknown (HELO QMTA08.emeryville.ca.mail.comcast.net) (76.96.30.80)\n  by mta1.grp.re1.yahoo.com with SMTP; 13 May 2008 22:54:59 -0000\r\nX-Received: from OMTA04.emeryville.ca.mail.comcast.net ([76.96.30.35])\n\tby QMTA08.emeryville.ca.mail.comcast.net with comcast\n\tid RAQp1Z0040lTkoCA804S00; Tue, 13 May 2008 22:53:07 +0000\r\nX-Received: from [192.168.1.101] ([76.127.177.134])\n\tby OMTA04.emeryville.ca.mail.comcast.net with comcast\n\tid RAuw1Z00H2uMwW48Q00000; Tue, 13 May 2008 22:54:58 +0000\r\nX-Authority-Analysis: v=1.0 c=1 a=o8meOYmdAAAA:8 a=jLfpXq6zAAAA:8\n a=hoKdFVL9AAAA:8 a=GVfL9y2wbsnRKQh-GRsA:9 a=z4fME9_5yU3o7FZ1NXoA:7\n a=4UjyRBPtFRzkSjkxBwnK1Br-qHwA:4 a=BNEss0OlYnEA:10 a=ao4RW71Vw8YA:10\n a=d-AKD8BwCLQA:10\r\nMessage-ID: &lt;482A1C40.6080807@baldwinlinguas.com&gt;\r\nDate: Tue, 13 May 2008 18:54:56 -0400\r\nUser-Agent: Thunderbird 2.0.0.9 (X11/20080220)\r\nMIME-Version: 1.0\r\nTo: OmegaT@yahoogroups.com\r\nReferences: &lt;AOEHKCKOIOGPGCNLDEKBOELEEHAA.d.briel@free.fr&gt;\r\nIn-Reply-To: &lt;AOEHKCKOIOGPGCNLDEKBOELEEHAA.d.briel@free.fr&gt;\r\nContent-Type: text/plain; charset=ISO-8859-1; format=flowed\r\nContent-Transfer-Encoding: 7bit\r\nX-Originating-IP: 76.96.30.80\r\nX-eGroups-Msg-Info: 1:12:0:0:0\r\nFrom: anthony baldwin &lt;anthony@baldwinlinguas.com&gt;\r\nSubject: Re: [OmT] segmentation help\r\nX-Yahoo-Group-Post: member; u=261302706; y=7rXgLgoKvLsGbTNiaSosncyAo29sE57P0frkIPNaeCNDaHWiLyk\r\nX-Yahoo-Profile: photodharma\r\n\r\nDidier Briel wrote:\n&gt; -----Original Message-----\n&gt;&gt; From: OmegaT@yahoogroups.com [mailto:OmegaT@yahoogroups.com]On Behalf Of\n&gt; anthony baldwin\n&gt;&gt; Sent: Tuesday, May 13, 2008 5:58 PM\n&gt;&gt; To: OmegaT@yahoogroups.com\n&gt;&gt; Subject: [OmT] segmentation help\n&gt; \n&gt;&gt; I&#39;ve got a project that came as an xls file that contains a bunch of\n&gt;&gt; tags like this:\n&gt;&gt; [br /]\n&gt;&gt; [/p]\n&gt;&gt; [a href= blablah.com]some linke[/a]\n&gt; \n&gt; Supposing that from that line, you want\n&gt; [a href= blablah.com]\n&gt; some linke\n&gt; [/a]\n&gt; \n&gt; You can use the following rules.\n&gt; \n&gt; The break/exception box *has* to be checked. It&#39;s a bit counterintuitive,\n&gt; but it means it *is* a break, i.e., we want it to break.\n&gt; The first rule is\n&gt; Before: . (a single dot, meaning &quot;anything goes&quot;)\n&gt; After: &#92;[.*?&#92;]\n&gt; A little more complex than usual, because it uses a &quot;non greedy quantifier&quot;\n&gt; (the &quot;?&quot;).\n&gt; That means: After a [, followed by anything (&quot;.&quot;) 0 or more time (&quot;*&quot;),\n&gt; followed by a ], *but* make the shortest possible string (the &quot;?&quot;). By\n&gt; default, regexps are making the longest possible strings.\n&gt; \n&gt; The second rule is\n&gt; Before: &#92;[.*?&#92;]\n&gt; After: . (a single dot)\n&gt; \n&gt; It&#39;s just the reverse of the previous one.\n&gt; \n&gt; Didier\n&gt; \n&gt; \n\nI ended up squaring that away, actually, shortly after I posted to the \nlist.\nI ended up simply doing\n\n[X] before &#92;[        After\n[x] before           After &#92;]\n\nThat worked.\nAll the tags have been separated out from the text.\nof course, that&#39;s great for paragraph and line break tags, but,\nI&#39;m wondering if I shouldn&#39; rethink that, because there are also text \nmodifiers (like [i] text in italics [/i]) and the&#39;ve also been separated \nout, which is breaking some of the sentences up.\nAlthough, before I did it this way, since there were paragraph or line \nbreak tags after many, many sentences, I had HUGE segments.\n\nI thought about just replacing the [  and  ] with &lt; and &gt;\nand just using the html seg rules, then re-replacing after...\nMaybe I should do that...\n\nThanks\nTony\n\n\n-- \nAnthony Baldwin\n\nhttp://www.BaldwinLinguas.com\nTranslation & Interpreting\n\nhttp://www.TransProCalc.org\nFree translation project mgmt software\n\nhttp://www.LinguasOS.org\nLinux for Translators\n\n\n"}}