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._encode_uri_component

_encode_uri_component(regexp, table, str, enc)

Returns a string derived from the given string str with URI-encoded characters matching regexp according to table.