The following line of regex broke on my codebase when trying upgrade to v10:
let blockCommentsRe = %re("/\\/\\*([^*]|[\\r\\n]|(\\*+([^*/]|[\\r\\n])))*\\*+\\//g")
Here is a playground of this working in the current stable rescript version.
Many thanks for the hard work, super excited that rescript is moving forward 🙏