title: Mikrotik router Layer7 regexp block access by DNS zones
body: <p>I trying to make regex for block resources with specific DNS zones only
  for example .ru</p>
  
  <p>I tried several regex but something Mikrotik router specific and expressions not work...</p>
  
  <p>This list of patterns not work and I not understand why, because in online test tools all work...</p>
  
  <pre><code>^.+(\.ru\/|\.ru$).*$
  (\^*.ru$|\^*.ru\/)
  ^.+(\^*.ru$|\^*.ru\/).*$
  ^.+(\.ru$|\.ru\/).*$
  ^(.*ru\/.*|.*ru$.*)$
  </code></pre>
  
  <p><a href="https://wiki.mikrotik.com/wiki/Manual:Regular_Expressions" rel="nofollow noreferrer">https://wiki.mikrotik.com/wiki/Manual:Regular_Expressions</a></p>
  
  <p><a href="https://rubular.com/r/7wS6i3pi6pxJdI" rel="nofollow noreferrer">https://rubular.com/r/7wS6i3pi6pxJdI</a></p>
  
  <p>I need help to find what's wrong with expressions in my list</p>