@babel/plugin-transform-dotall-regex enables support for the s (dotAll) flag in regular expressions within JavaScript code. This flag allows the dot (.) metacharacter to match newline characters, offering more versatile pattern matching. This Babel plugin transforms regular expressions using the s flag into equivalent expressions compatible with older JavaScript environments that don't natively support it. By using this plugin, developers can leverage the dotAll flag in their code while maintaining broader browser compatibility.
The npm package @babel/plugin-transform-dotall-regex has seen sporadic releases since August 2018. Releases were more frequent in 2019 and 2020, with dips in 2021, 2022 and 2023, and a small comeback in 2024. Only one release in April 2025. There have been periods of several consecutive months without any new versions published.
@babel/plugin-transform-dotall-regex downloads show a fluctuating but generally upward trend from March 2024 to August 2025, peaking in June 2025. September 2025 data is incomplete, showing significantly lower downloads, likely due to the month not being finished.