<?xml version='1.0' encoding='utf-8' ?>

<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>AlexPGP&apos;s Corner</title>
  <link>https://alexpgp.dreamwidth.org/</link>
  <description>AlexPGP&apos;s Corner - Dreamwidth Studios</description>
  <lastBuildDate>Thu, 02 Nov 2017 13:50:07 GMT</lastBuildDate>
  <generator>LiveJournal / Dreamwidth Studios</generator>
  <lj:journal>alexpgp</lj:journal>
  <lj:journaltype>personal</lj:journaltype>
  <image>
    <url>https://v2.dreamwidth.org/11312811/278019</url>
    <title>AlexPGP&apos;s Corner</title>
    <link>https://alexpgp.dreamwidth.org/</link>
    <width>99</width>
    <height>99</height>
  </image>

<item>
  <guid isPermaLink='true'>https://alexpgp.dreamwidth.org/2284618.html</guid>
  <pubDate>Thu, 02 Nov 2017 13:50:07 GMT</pubDate>
  <title>Wildcards are still my friends...</title>
  <link>https://alexpgp.dreamwidth.org/2284618.html</link>
  <description>Further to a post of mine from &lt;a href=&quot;https://alexpgp.dreamwidth.org/1777262.html&quot;&gt;August 2012&lt;/a&gt;...&lt;br /&gt;&lt;br /&gt;Let&apos;s say you have an abbreviation (could be a TLA or it could be something else). There is no apparent expansion of the abbreviation in the document. That said, there&apos;s nothing to prevent said expansion from appearing &lt;i&gt;somewhere&lt;/i&gt; in the text.&lt;br /&gt;&lt;br /&gt;For each letter of the abbreviation, use the following template in Word (with wildcards enabled):&lt;br /&gt;&lt;br /&gt;&amp;lt;[xX][а-я]*&amp;gt;&lt;br /&gt;&lt;br /&gt;where &quot;&amp;lt; denotes &quot;start of word,&quot; &quot;xX&quot; denotes a starting letter, for example, &quot;аА&quot; (&lt;i&gt;both&lt;/i&gt; letters so as to catch words that start with either lower- or upper-case letters&amp;mdash;this is an improvement over the technique from 2012), the &quot;*&quot; at the end denotes &quot;zero or more of the previous character&quot; (another improvement, which will catch single-letter words, though admittedly their appearance in abbreviations is rare), and &quot;&amp;gt;&quot; denotes &quot;end of word.&quot;&lt;br /&gt;&lt;br /&gt;So, for example, if you are looking to see if the abbreviation ПКЛ appears, you&apos;d search for:&lt;br /&gt;&lt;br /&gt;&amp;lt;[&amp;lt;пП&amp;gt;][а-я]*&amp;gt; &amp;lt;[&amp;lt;кК&amp;gt;][а-я]*&amp;gt; &amp;lt;[&amp;lt;лЛ][а-я]*&amp;gt;&lt;br /&gt;&lt;br /&gt;As it turns out, ПКЛ appears in a document I am working on (more precisely, in the title of the Russian source file). Using this method, I&apos;ve determined no three consecutive words start with these three respective letters.&lt;br /&gt;&lt;br /&gt;Back to the face!&lt;br /&gt;&lt;br /&gt;Cheers...&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=alexpgp&amp;ditemid=2284618&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://alexpgp.dreamwidth.org/2284618.html</comments>
  <category>word</category>
  <category>tip</category>
  <category>regular_expression</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
</channel>
</rss>
