Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

class method

URI._decode_uri_component

_decode_uri_component(regexp, str, enc)

Returns a string decoding characters matching regexp from the given URL-encoded string str.

See also .decode_uri_component .decode_www_form also in 4.0 · 3.4 · 3.3 · 3.2