@babel/plugin-transform-regexp-modifiers transforms unsupported RegExp modifiers to equivalent, compatible patterns. This is useful for targeting older JavaScript environments that lack features like the 's' (dotAll) flag or the 'v' flag. By rewriting regular expressions, the plugin ensures broader compatibility and avoids runtime errors, enabling developers to utilize modern RegExp syntax while maintaining support for legacy browsers and runtimes. The plugin optimizes the transformations for performance.
@babel/plugin-transform-regexp-modifiers had infrequent releases. It saw one release in October 2024 (version 7.26.0) and another in April 2025 (version 7.27.1). There were no releases between November 2024 and March 2025, nor from May 2025 to August 2025.
@babel/plugin-transform-regexp-modifiers downloads remained at zero until October 2024. Afterward, downloads surged dramatically, peaking in August 2025 at 60.5 million. September 2025's downloads are currently at 22.4 million, reflecting incomplete data for the month. The package shows significant growth over time.