# RegexEntityExtractor not working in rasa==2.0.0rc4

**URL:** <https://forum.rasa.com/t/regexentityextractor-not-working-in-rasa-2-0-0rc4/35588>\
**Category:** Rasa Open Source\
**Created:** [October 7, 2020, 4:03pm UTC](https://forum.rasa.com/t/regexentityextractor-not-working-in-rasa-2-0-0rc4/35588 "2020-10-07T16:03:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![noman](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/noman/32/10071_2.png) [@noman](https://forum.rasa.com/u/noman)\
**Post date:** [October 7, 2020, 4:03pm UTC](https://forum.rasa.com/t/regexentityextractor-not-working-in-rasa-2-0-0rc4/35588/1 "2020-10-07T16:03:11Z")

</div>

Getting this warning `UserWarning: No lookup tables or regexes defined in the training data that have a name equal to any entity in the training data. In order for this component to work you need to define valid lookup tables or regexes in the training data.`

Here is the NLU Data version: “2.0” nlu:

- intent: greet examples: |

- intent: request\_restaurant examples: |

- intent: affirm examples: |

- intent: deny examples: |

- intent: inform examples: |

- intent: thankyou examples: |

- intent: chitchat examples: |

- intent: stop examples: |

- intent: bot\_challenge examples: |

- lookup: name examples: |

- regex: account\_number examples: |

And here is the config language: en

pipeline:

- name: WhitespaceTokenizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer token\_pattern: (?u)\b\w+\b
- name: DucklingEntityExtractor url: [http://localhost:8000](http://localhost:8000) dimensions:
  - number

- name: RegexEntityExtractor
# text will be processed with case insensitive as default
“case\_sensitive”: False
# use lookup tables to extract entities
“use\_lookup\_tables”: True
# use regexes to extract entities
“use\_regexes”: True
- name: DIETClassifier epochs: 100
- name: EntitySynonymMapper

policies:

- name: TEDPolicy epochs: 100
- name: AugmentedMemoizationPolicy
- name: RulePolicy
