<div dir="ltr">I can't help you with your question (not that great with regex's) but I don't think you offended anyone, sometimes questions slip through unanswered. not sure why.<br><br><div class="gmail_quote">
On Mon, Aug 11, 2008 at 12:16 PM, John Stephens <span dir="ltr"><<a href="mailto:john@designop.us">john@designop.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I posted the query below a few days ago and I'm wondering if I said<br>
something offensive-- I haven't heard any responses. My situation<br>
isn't dire, but if I violated list etiquette in some way, I'd like to<br>
learn from my mistake. If the question isn't within the scope of the<br>
list, that would be useful to know too.<br>
<br>
Thanks!<br>
<div class="Ih2E3d"><br>
<br>
> Hi, I'm new.<br>
><br>
> I'm working on a custom Textpattern installation and my client has<br>
> entered a massive amount of text data in certain fields using<br>
> UPPERCASE. He wants the text displayed in Title Case instead, and he<br>
> doesn't want to manually change it. I can easily use the style<br>
> declaration "text-transform: capitalize;" for these elements, but my<br>
> client would very much prefer formal title case in which words such<br>
> as "the," "of," "and," and "for" are not capitalized. (I see that<br>
> Textmate's "Convert to Titlecase" command in the "Text" menu does<br>
> this correctly.)<br>
><br>
> I have made a mysql dump of the database, but I'm not sure how to<br>
> isolate the appropriate data for a text transformation. Here is how<br>
> each individual record is formatted in the database:<br>
><br>
> (91,'2008-08-03 05:20:57','author-username','2008-08-03<br>
> 05:26:33','','UPPERCASE DATA','','','','','','','UPPERCASE-DATA','',<br>
> 0,'Comment',0,4,1,1,'section-name','','lowercase-data','lowercase-<br>
> data','','','','','','','','','','','UPPERCASE DATA','','lowercase-<br>
> data','3p344629nn178n874sp2s222s0q3n072','2008-08-03')<br>
><br>
> The mysql dump also contains uppercase terms such as "DROP TABLE IF<br>
> EXISTS" and lowercase terms like "datetime" and "varchar" that I<br>
> _don't_ want changed. Is there a simple way to target just the<br>
> UPPERCASE DATA fields enclosed in single quotes for a massive "Covert<br>
> to Titlecase"?<br>
><br>
</div>> I welcome advice from regular expression fu-masters and Textmate<br>
<div><div></div><div class="Wj3C7c">> adepts!<br>
><br>
> Thanks in advance!<br>
> John Stephens<br>
<br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
</div></div></blockquote></div><br></div>