title: Regexp dart for arabic characters in dart
body: <p>How are you?</p>
  
  <p>I am a beginner in dart and flutter and I am also a new programmer and It's the first time I ask a question on StackOverflow.</p>
  
  <p>I am training now on regular expressions and I am trying to create a one to match all characters with hashtag sign like: </p>
  
  <ul>
  <li><code>#I_am_here</code></li>
  <li><code>#Stop</code></li>
  </ul>
  
  <p>anyway, everything is going okay but actually, when I try to replace the string which is in English with Arabic I get stuck.</p>
  
  <hr>
  
  <pre class="lang-dart prettyprint-override"><code>void main() {
    String text = "#اسمي_هنا";
    RegExp exp = new RegExp(r"\B#\w\w+" , unicode: true , multiLine: true);
    exp.allMatches(text).forEach((match) {
      print(match.group(0));
  
      if (match.group(0) == null) {
        print(null);
      }
    });
  
  }
  </code></pre>
  
  <p>it doesn't even prints null.</p>