BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

js_regex_to_ruby

v0.1.3RubyGems· Ruby

A Ruby gem that converts ECMAScript (JavaScript) regular expressions to Ruby Regexp objects, preserving behavior as closely as Ruby's regex engine allows. Handles flag mapping (i, s, m), anchor conversion (^/$ to \A/\z), inline modifiers, and control character escapes. Emits warnings for JS features without direct Ruby equivalents (g, y, u, v, d flags).

The verdict
Maintained. Niche but maintained, actively maintained.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceHealthy
PopularityNiche
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published 5 months ago.
Popularity
37 downloads / week
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
  • 0.1.35 months ago
  • 0.1.25 months ago
  • 0.1.15 months ago
js_regex_to_ruby — A Ruby gem that converts ECMAScript (JavaScript) regular expressions to Ruby Regexp objects, preserving behavior as closely as Ruby's regex engine allows. Handles flag mapping (i, s, m), anchor conversion (^/$ to \A/\z), inline modifiers, and control character escapes. Emits warnings for JS features without direct Ruby equivalents (g, y, u, v, d flags). (Ruby / RubyGems) · Modules