dbrown9@gmail.com (Dustin Brown)
- Login: dbrown9@gmail.com
- Registered on: 12/04/2023
- Last sign in: 12/04/2023
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
12/07/2023
-
03:25 AM Ruby Bug #20039 (Closed): Matching US-ASCII string to copied UTF-8 Regexp causes invalid multibyte character error
- Applied in changeset commit:git|d89280e8bf6496aa83326b5f9c293724bd1cc1e9.
----------
Copy encoding flags when copying a regex [Bug #20039]
* :bug: Fixes [Bug #20039](https://bugs.ruby-lang.org/issues/20039)
When a Regexp is initialize... -
03:25 AM Ruby Revision d89280e8 (git): Copy encoding flags when copying a regex [Bug #20039]
- * :bug: Fixes [Bug #20039](https://bugs.ruby-lang.org/issues/20039)
When a Regexp is initialized with another Regexp, we simply copy the
properties from the original. However, the flags on the original were
not being copied correctly. T...
12/04/2023
-
09:54 PM Ruby Bug #20039 (Closed): Matching US-ASCII string to copied UTF-8 Regexp causes invalid multibyte character error
- Matching a US-ASCII string to a UTF-8 encoded regexp with multibyte characters works as expected.
```ruby
re = Regexp.new("\u2018".encode("UTF-8"))
"".encode("US-ASCII").match?(re)
=> false
```
However, if that regexp is use...