hoodwink.d enhanced

Sun Aug 24

Car-wash-windshield

Car wash

Regexp#uncapturize

class Regexp def uncapturize self.class.new(to_s.gsub(/(\A|[^\\])\(([^?])/, "\\1(?:\\2")) end end VALUES = /(\d+)(?:,(\d+))/ VALUES.uncapturize # => /(?-mix:(?:\d+)(?:,(?:\d+)))/ "hello 12,34 world".split(VALUES) # => ["hello ", "12", "34", " world"] "hello 12,34 world".split(VALUES.uncapturize) # => ["hello ", " world"] "hello 12,34 world".split(/(#{VALUES.uncapturize})/) # => ["hello ", "12,34", " world"]
par•es•the•sia
[par-uhs-thee-zhuh]noun
A skin sensation, such as burning, prickling, itching, or tingling, with no apparent physical cause.