RegexEntityExtraction doesn't work on rasa 3.6.15


I tried to extract some regex following your tutorial for card-number using regex. here’s the tutorial here’s the docs: Components

Here’s my pipeline:

# # No configuration for the NLU pipeline was provided. The following default pipeline was used to train your model.
# # If you'd like to customize it, uncomment and adjust the pipeline.
# # See for more information.
- name: WhitespaceTokenizer
- name: RegexFeaturizer
- name: RegexEntityExtractor
  use_regexes: True
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
- name: CountVectorsFeaturizer
  analyzer: char_wb
  min_ngram: 1
  max_ngram: 4
- name: DIETClassifier
  epochs: 100
- name: EntitySynonymMapper
- name: "DucklingEntityExtractor"
  url: "http://localhost:8000"
  dimensions: ["amount-of-money", "credit-card-number"]
  locale: "id_ID"
  timeout: 3
- name: ResponseSelector
  epochs: 100
- name: FallbackClassifier
  threshold: 0.3
  ambiguity_threshold: 0.1

My nlu.yml

- regex: account-number
  examples: |
    - \d{10,12}   
- intent: inform
  examples: |
    - my account number is [1234567890](account-number)
    - this is my account number [1234567890](account-number)

However during the inform if I put $ 10000 rasa tells me that 10000 is account-number. Seems like the regex not working here. Anything am I missing on my setup?