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\\+" |
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\\+" |
Designed by : w10schools
service@w10schools.com
Please login to continue.