<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Regular Expression Matching on Dmytro&#39;s Blog</title>
    <link>https://dmytros.blog/tags/regular-expression-matching/</link>
    <description>Recent content in Regular Expression Matching on Dmytro&#39;s Blog</description>
    <image>
      <title>Dmytro&#39;s Blog</title>
      <url>https://dmytros.blog/images/papermod-cover.png</url>
      <link>https://dmytros.blog/images/papermod-cover.png</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sun, 19 Apr 2026 09:15:38 +0300</lastBuildDate>
    <atom:link href="https://dmytros.blog/tags/regular-expression-matching/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>LeetCode - 150 - Regular Expression Matching</title>
      <link>https://dmytros.blog/posts/leetcode-150-regular-expression-matching/</link>
      <pubDate>Sun, 19 Apr 2026 09:15:38 +0300</pubDate>
      <guid>https://dmytros.blog/posts/leetcode-150-regular-expression-matching/</guid>
      <description>&lt;h3 id=&#34;the-problem&#34;&gt;The problem&lt;/h3&gt;
&lt;p&gt;Given an input string &lt;code&gt;s&lt;/code&gt; and a pattern &lt;code&gt;p&lt;/code&gt;, implement regular expression matching with support for &lt;code&gt;&#39;.&#39;&lt;/code&gt; and &lt;code&gt;&#39;*&#39;&lt;/code&gt;, where:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&#39;.&#39;&lt;/code&gt; matches any single character.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&#39;*&#39;&lt;/code&gt; matches zero or more of the preceding element.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Return a boolean indicating whether the matching covers the entire input string (not partial).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example 1:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Input: s = &amp;#34;aa&amp;#34;, p = &amp;#34;a&amp;#34;
Output: false
Explanation: &amp;#34;a&amp;#34; does not match the entire string &amp;#34;aa&amp;#34;.
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Example 2:&lt;/strong&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
