String::scan doesn't return the whole match when you have a capturing group. String::gsub is the solution!

This page summarizes the projects mentioned and recommended in the original post on /r/ruby

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Ruby_Regexp

    Learn Ruby Regexp step-by-step from beginner to advanced levels with plenty of examples and exercises.

    In case you are interested, I edited/expanded that regexp chapter and published it as an ebook, added exercises too. See https://github.com/learnbyexample/Ruby_Regexp for details, the book is free to download as pdf/epub, and online version is available as well.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts