<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Texttoolkit on Ken Huang</title>
    <link>https://blog.kenhuang.io/tags/texttoolkit/</link>
    <description>Recent content in Texttoolkit on Ken Huang</description>
    <generator>Hugo</generator>
    <language>en</language>
    <managingEditor>whatacold@gmail.com (Ken Huang)</managingEditor>
    <webMaster>whatacold@gmail.com (Ken Huang)</webMaster>
    <lastBuildDate>Wed, 26 Feb 2025 01:01:04 +0800</lastBuildDate>
    <atom:link href="https://blog.kenhuang.io/tags/texttoolkit/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>An Online Python re.findall Service</title>
      <link>https://blog.kenhuang.io/blog/2020-10-21-a-python-re.findall-service/</link>
      <pubDate>Wed, 21 Oct 2020 22:51:00 +0800</pubDate><author>whatacold@gmail.com (Ken Huang)</author>
      <guid>https://blog.kenhuang.io/blog/2020-10-21-a-python-re.findall-service/</guid>
      <description>&lt;p&gt;&#xA;As a programmer, I know that &lt;a href=&#34;https://www.gnu.org/s/grep/manual/grep.html&#34;&gt;grep&lt;/a&gt;, &lt;a href=&#34;https://www.gnu.org/software/sed/manual/sed.html&#34;&gt;sed&lt;/a&gt; and &lt;a href=&#34;https://www.gnu.org/software/gawk/manual/gawk.html&#34;&gt;awk&lt;/a&gt; are powerful for processing text, but they sometimes aren&amp;#39;t that straight-forward for specific tasks, as I need to think about how to filter the lines and the columns out.&lt;/p&gt;&#xA;&lt;p&gt;&#xA;So I wonder if there is a handy way to do these tasks?&lt;/p&gt;&#xA;&lt;p&gt;&#xA;After using it for a while, I think using regex directly can help, so I launched a &lt;a href=&#34;https://texttoolkit.com/re.findall&#34;&gt;re.findall service&lt;/a&gt; building on top of Python &lt;code class=&#34;verbatim&#34;&gt;re.findall&lt;/code&gt; API.&lt;/p&gt;</description>
    </item>
    <item>
      <title>ER Diagrams in Plain Text</title>
      <link>https://blog.kenhuang.io/blog/2019-07-06-render-erd-on-the-web/</link>
      <pubDate>Sat, 06 Jul 2019 11:59:00 +0800</pubDate><author>whatacold@gmail.com (Ken Huang)</author>
      <guid>https://blog.kenhuang.io/blog/2019-07-06-render-erd-on-the-web/</guid>
      <description>&lt;p&gt;&#xA;If you ever wonder how to plot &lt;a href=&#34;https://en.wikipedia.org/wiki/Entity%E2%80%93relationship_model&#34;&gt;ER diagrams&lt;/a&gt; in plain text, you may have already heard of &lt;a href=&#34;https://github.com/BurntSushi/erd&#34;&gt;erd&lt;/a&gt;.&#xA;It&amp;#39;s a cool command line program written by Andrew Gallant in Haskell, to &amp;#34;compile&amp;#34; plain text files into nicely looking images,&#xA;leveraging the power of &lt;a href=&#34;https://graphviz.org/&#34;&gt;GraphViz&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&#xA;I&amp;#39;ve used erd for some time, it&amp;#39;s cool and the syntax is quite simple.&#xA;It&amp;#39;s also quite simple to install it on Linux, just install GraphViz and erd itself,&#xA;by following the instructions in the README page.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
