diff --git a/@plotly/webpack-dash-dynamic-import/src/index.js b/@plotly/webpack-dash-dynamic-import/src/index.js
index b02a7edc..6071c0a9 100644
--- a/@plotly/webpack-dash-dynamic-import/src/index.js
+++ b/@plotly/webpack-dash-dynamic-import/src/index.js
@@ -5,7 +5,7 @@ function getFingerprint() {
     const packageJson = JSON.parse(package);
 
     const timestamp = Math.round(Date.now() / 1000);
-    const version = packageJson.version.replace(/[.]/g, '_');
+    const version = packageJson.version.replace(/[^\w-]/g, '_');
 
     return `"v${version}m${timestamp}"`;
 }
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b0698b3a..b28ab05f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
 
 ## Unreleased
 ### Fixed
+- [#999](https://github.com/plotly/dash/pull/999) Fix fingerprint for component suites with `metadata` in version.
 - [#983](https://github.com/plotly/dash/pull/983) Fix the assets loading issues when dashR application runner is handling with an app defined by string chunk.
 
 ## [1.5.1] - 2019-10-29
diff --git a/dash/fingerprint.py b/dash/fingerprint.py
index b9c23d30..78df1d49 100644
--- a/dash/fingerprint.py
+++ b/dash/fingerprint.py
@@ -1,7 +1,7 @@
 import re
 
 cache_regex = re.compile(r"^v[\w-]+m[0-9a-fA-F]+$")
-
+version_clean = re.compile(r"[^\w-]")
 
 def build_fingerprint(path, version, hash_value):
     path_parts = path.split("/")
@@ -9,7 +9,7 @@ def build_fingerprint(path, version, hash_value):
 
     return "{}.v{}m{}.{}".format(
         "/".join(path_parts[:-1] + [filename]),
-        str(version).replace(".", "_"),
+        re.sub(version_clean, "_", str(version)),
         hash_value,
         extension,
     )

[BUG] + in version string breaks fingerprint system
**Describe your context**
-  replace the result of `pip list | grep dash` below
```
dash                                  1.5.1                           
dash-core-components                  1.4.0                           
dash-daq                              0.2.2                           
dash-html-components                  1.0.1                           
dash-renderer                         1.2.0                           
dash-table                            4.5.0  
```

**Describe the bug**

When going from `dash==1.4` to `dash==1.5`, we experienced a breaking change in the custom Dash components we use.

It took some hours to debug, but the reason was found to be related to the new "fingerprint" system in Dash. In our project, we use the [setuptools_scm](https://github.com/pypa/setuptools_scm) package (by the Python Packaging Authority) in order to have a versioning system that automatically is linked to the git repo tags. This makes continuous deployment to e.g. Pypi easy and robust wrt. keeping versions consistent.

I.e. instead of
```python
__version__ = package['version']
```
in the component package, we use something like
```
__version__ = get_distribution(__name__).version
```
This worked until `dash==1.5`, then it broke on non-release-versions due to automatic tags of the type
`1.0.0.dev5+af4304c.d20191103`, where the tag includes a `+`. See [the default tag formats](https://github.com/pypa/setuptools_scm#default-versioning-scheme).

Changing the line above to
```
__version__ = get_distribution(__name__).version.replace("+", ".")
```
is one workaround that gets the third party components to also work on `dash==1.5`

**Expected behavior**

`setuptools_scm` provided versions to work also in `dash>=1.5`.

**Suggested solution**

Change [this line](https://github.com/plotly/dash/blob/40b5357f262ac207f94ac980e6cb928d94df65b7/dash/fingerprint.py#L12) in Dash's `build_fingerprint` to also replace `+` with `_`?
diff --git a/tests/integration/devtools/test_props_check.py b/tests/integration/devtools/test_props_check.py
index 95d81349..b9d71556 100644
--- a/tests/integration/devtools/test_props_check.py
+++ b/tests/integration/devtools/test_props_check.py
@@ -216,7 +216,7 @@ test_cases = {
 
 
 def test_dvpc001_prop_check_errors_with_path(dash_duo):
-    app = dash.Dash(__name__)
+    app = dash.Dash(__name__, eager_loading=True)
 
     app.layout = html.Div([html.Div(id="content"), dcc.Location(id="location")])
 
diff --git a/tests/unit/test_fingerprint.py b/tests/unit/test_fingerprint.py
index 36de80dd..97037e7b 100644
--- a/tests/unit/test_fingerprint.py
+++ b/tests/unit/test_fingerprint.py
@@ -17,6 +17,12 @@ valid_resources = [
         "version": "1.1.1-alpha.1",
         "hash": "1234567890abcdef",
     },
+    {
+        "path": "react@16.8.6.min.js",
+        "fingerprint": "react@16.v1_1_1-alpha_x_y_y_X_Y_Z_1_2_3_metadata_xx_yy_zz_XX_YY_ZZ_11_22_33_mmm1234567890abcdefABCDEF.8.6.min.js",
+        "version": "1.1.1-alpha.x.y.y.X.Y.Z.1.2.3+metadata.xx.yy.zz.XX.YY.ZZ.11.22.33.mm",
+        "hash": "1234567890abcdefABCDEF",
+    },
     {"path": "dash.plotly.js", "fingerprint": "dash.v1m1.plotly.js"},
     {"path": "dash.plotly.j_s", "fingerprint": "dash.v1m1.plotly.j_s"},
     {"path": "dash.plotly.css", "fingerprint": "dash.v1m1.plotly.css"},

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest pytest-sugar pytest-mock lxml selenium percy requests[security] beautifulsoup4 waitress
apt-get update apt-get install -y gcc
3.6
requires-install.txt requires-dev.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
astroid==1.6.6
attrs==22.2.0
beautifulsoup4==4.12.3
Brotli==1.1.0
certifi==2021.5.30
charset-normalizer==2.0.12
click==8.0.4
coloredlogs==15.0.1
-e git+https://github.com/plotly/dash.git@b3b9de9923d82ff1281889b3695d638e95bb1590#egg=dash
dash-core-components==1.4.0
dash-dangerously-set-inner-html==0.0.2
dash-flow-example==0.0.5
dash-html-components==1.0.1
dash-renderer==1.2.0
dash-table==4.5.0
dataclasses==0.8
fire==0.7.0
flake8==5.0.4
Flask==2.0.3
Flask-Compress==1.15
future==1.0.0
humanfriendly==10.0
idna==3.10
importlib-metadata==4.2.0
iniconfig==1.1.1
isort==5.10.1
itsdangerous==2.0.1
Jinja2==3.0.3
lazy-object-proxy==1.7.1
lxml==5.3.1
MarkupSafe==2.0.1
mccabe==0.7.0
mock==5.2.0
packaging==21.3
percy==2.0.2
plotly==5.18.0
pluggy==1.0.0
py==1.11.0
pycodestyle==2.9.1
pyflakes==2.5.0
pylint==1.9.4
pyparsing==3.1.4
pytest==7.0.1
pytest-mock==3.6.1
pytest-sugar==0.9.6
PyYAML==6.0.1
requests==2.27.1
selenium==3.141.0
six==1.17.0
soupsieve==2.3.2.post1
tenacity==8.2.2
termcolor==1.1.0
tomli==1.2.3
typing_extensions==4.1.1
urllib3==1.26.20
waitress==2.0.0
Werkzeug==2.0.3
wrapt==1.16.0
zipp==3.6.0
zstandard==0.20.0

name: dash
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - astroid==1.6.6
      - attrs==22.2.0
      - beautifulsoup4==4.12.3
      - brotli==1.1.0
      - charset-normalizer==2.0.12
      - click==8.0.4
      - coloredlogs==15.0.1
      - dash-core-components==1.4.0
      - dash-dangerously-set-inner-html==0.0.2
      - dash-flow-example==0.0.5
      - dash-html-components==1.0.1
      - dash-renderer==1.2.0
      - dash-table==4.5.0
      - dataclasses==0.8
      - fire==0.7.0
      - flake8==5.0.4
      - flask==2.0.3
      - flask-compress==1.15
      - future==1.0.0
      - humanfriendly==10.0
      - idna==3.10
      - importlib-metadata==4.2.0
      - iniconfig==1.1.1
      - isort==5.10.1
      - itsdangerous==2.0.1
      - jinja2==3.0.3
      - lazy-object-proxy==1.7.1
      - lxml==5.3.1
      - markupsafe==2.0.1
      - mccabe==0.7.0
      - mock==5.2.0
      - packaging==21.3
      - percy==2.0.2
      - plotly==5.18.0
      - pluggy==1.0.0
      - py==1.11.0
      - pycodestyle==2.9.1
      - pyflakes==2.5.0
      - pylint==1.9.4
      - pyparsing==3.1.4
      - pytest==7.0.1
      - pytest-mock==3.6.1
      - pytest-sugar==0.9.6
      - pyyaml==6.0.1
      - requests==2.27.1
      - selenium==3.141.0
      - six==1.17.0
      - soupsieve==2.3.2.post1
      - tenacity==8.2.2
      - termcolor==1.1.0
      - tomli==1.2.3
      - typing-extensions==4.1.1
      - urllib3==1.26.20
      - waitress==2.0.0
      - werkzeug==2.0.3
      - wrapt==1.16.0
      - zipp==3.6.0
      - zstandard==0.20.0
prefix: /opt/conda/envs/dash

tests/unit/test_fingerprint.py::test_fingerprint
dash/fingerprint.py @plotly/webpack-dash-dynamic-import/src/index.js CHANGELOG.md
dash/fingerprint.py @plotly/webpack-dash-dynamic-import/src/index.js CHANGELOG.md