# Pattern-Matching Callbacks doesn't work for dash-table

**URL:** <https://community.plotly.com/t/pattern-matching-callbacks-doesnt-work-for-dash-table/38623>\
**Category:** Dash Python\
**Created:** [April 29, 2020, 1:32pm UTC](https://community.plotly.com/t/pattern-matching-callbacks-doesnt-work-for-dash-table/38623 "2020-04-29T13:32:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rastapopoullox](https://avatars.discourse-cdn.com/v4/letter/r/a3d4f5/32.png) [@Rastapopoullox](https://community.plotly.com/u/Rastapopoullox)\
**Post date:** [April 29, 2020, 1:32pm UTC](https://community.plotly.com/t/pattern-matching-callbacks-doesnt-work-for-dash-table/38623/1 "2020-04-29T13:32:34Z")

</div>

It is not possible to define the id of a dash\_table.DataTable as {‘type’:‘Datatable’,‘index’:whatever}. It raises the error: ‘The string did not match the expected pattern.’

I need this feature to update an unknown number of dash\_table (unknow because the number changes in function of the layout).

I can give a working example if you need.

Is this an intended behavior? If so why?  
Or is it an identified bug which will be fixed in a next release?

---

<div class="post-metadata">

**Author:** ![chriddyp](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/chriddyp/32/16855_2.png) [@chriddyp](https://community.plotly.com/u/chriddyp)\
**Post date:** [April 29, 2020, 2:54pm UTC](https://community.plotly.com/t/pattern-matching-callbacks-doesnt-work-for-dash-table/38623/2 "2020-04-29T14:54:30Z")

</div>

thanks for reporting! it’s a bug we’re fixing in the next release, 1.12.0. should be out this week
