Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #643 from topazproject/tim/Regexp#quote
Alias Regexp#quote to Regexp#escape
- Loading branch information
Showing
with
1 addition
and 2 deletions.
@@ -1,5 +1,3 @@ | ||
fails:Regexp.quote escapes any characters with special meaning in a regular expression | ||
fails:Regexp.quote sets the encoding of the result to US-ASCII if there are only US-ASCII characters present in the input String | ||
fails:Regexp.quote sets the encoding of the result to the encoding of the String if any non-US-ASCII characters are present in an input String with valid encoding | ||
fails:Regexp.quote sets the encoding of the result to ASCII-8BIT if any non-US-ASCII characters are present in an input String with invalid encoding | ||
fails:Regexp.quote works with symbols |