source

rxp.source â str
Instance Public methods

Returns the original string of the pattern.

1
/ab+c/ix.source #=> "ab+c"

Note that escape sequences are retained as is.

1
/\x20\+/.source  #=> "\\x20\\+"
doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.