title: Using regex with enitities in Rasa NLU
body: <p>I'm trying to use regex in entities extraction to extend the training set. It only recognizes words in the training examples.
  for &quot;check asana for new data&quot; it only recognized &quot;new&quot;.</p>
  <pre><code>Your input -&gt;  check asana for new data                                                                                                                     
  Are you asking for new
  </code></pre>
  <p>My intent and entity in nlu.md:</p>
  <pre><code>## regex:task_name
  -  [a-zA-Z0-9\\s]*
  
  ## intent: check_asana
  - check asana for [jobs on linkedin](task_name)
  - check asana for [job interviews](task_name)
  - check asana for [new opportunities](task_name)
  - check asana for [finding job opportunities](task_name)
  - check asana for [finding jobs on linkedin](task_name)
  - check asana for [handling the rasa example](task_name)
  - check asana
  </code></pre>
  <ul>
  <li>Upated it from</li>
  </ul>
  <pre><code>## intent: check_asana
  - check asana for [jobs on linkedin](task_name)
  - check asana for [job interviews](task_name)
  - check asana for [new opportunities](task_name)
  - check asana
  
  
  ## regex:task_name
  -  [^\\s]*
  </code></pre>
  <p>In domain.yml, the entities and slots:</p>
  <pre><code>
  entities:
    - task_name
  
  slots:
    task_name:
      type: text
  #    auto_fill: false
  </code></pre>
  <p>In config.yml I use the pipeline:</p>
  <pre><code>language: en
  pipeline:
    - name: WhitespaceTokenizer
    - name: RegexFeaturizer
    - name: LexicalSyntacticFeaturizer
    - name: CountVectorsFeaturizer
    - name: CountVectorsFeaturizer
      analyzer: &quot;char_wb&quot;
      min_ngram: 1
      max_ngram: 4
    - name: DIETClassifier
      epochs: 100
    - name: EntitySynonymMapper
    - name: ResponseSelector
      epochs: 100
  </code></pre>