General

Profile

jirkamarsik (Jirka Marsik)

  • Login: jirkamarsik
  • Registered on: 11/23/2020
  • Last connection: 11/23/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 6 2 8

Activity

06/29/2021

12:05 PM Ruby master Bug #18013: Unexpected results when mxiing negated character classes and case-folding
duerst (Martin Dürst) wrote in #note-2:
> Just a question: What's the purpose of nested character classes?
They a...
jirkamarsik (Jirka Marsik)
09:28 AM Ruby master Bug #18013: Unexpected results when mxiing negated character classes and case-folding
This is a simpler reproducer.
```
irb(main):003:0> /[^a]/i.match("a")
=> nil
irb(main):004:0> /[[^a]]/i.match("a"...
jirkamarsik (Jirka Marsik)
08:55 AM Ruby master Bug #18013 (Open): Unexpected results when mxiing negated character classes and case-folding
```
irb(main):001:0> /[^a-c]/i.match("A")
=> nil
irb(main):002:0> /[[^a-c]]/i.match("A")
=> #<MatchData "A">
```...
jirkamarsik (Jirka Marsik)
08:35 AM Ruby master Bug #18012 (Open): Case-insensitive character classes can only match multiple code points when top-level character class is not negated
Some Unicode characters case-fold to strings of multiple code points, e.g. the ligature `\ufb00` can match the string... jirkamarsik (Jirka Marsik)

06/28/2021

09:30 AM Ruby master Bug #18010 (Open): Character class with single character gets case-folded with following string
```
irb(main):001:0> /ff/i.match("\ufb00")
=> #<MatchData "ff">
irb(main):002:0> /[f]f/i.match("\ufb00")
=> #<Matc...
jirkamarsik (Jirka Marsik)
09:09 AM Ruby master Bug #18009 (Open): Regexps \w and \W with /i option and /u option produce inconsistent results under nested negation and intersection
This is a follow up to [issue 4044](https://bugs.ruby-lang.org/issues/4044). Its fix (https://github.com/k-takata/Oni... jirkamarsik (Jirka Marsik)

06/15/2021

11:59 AM Ruby master Bug #17990 (Open): Inconsistent behavior of Regexp quantifiers over characters with complex case foldings
With case insensitive Regexps, the string `"ff"` is considered equal to the string `"\ufb00"` with a single ligature ... jirkamarsik (Jirka Marsik)
11:43 AM Ruby master Bug #17989 (Open): Case insensitive Regexps do not handle characters with overlapping case foldings
When a Regexp uses the case-insensitive flag, strings are compared by first case folding them and then comparing the ... jirkamarsik (Jirka Marsik)

11/24/2020

11:19 AM Ruby master Bug #17340: /\p{/ matches newline instead of throwing syntax error
Great, thanks! jirkamarsik (Jirka Marsik)
11:17 AM Ruby master Bug #17341: Unsound quantifier reduction with nested quantifiers
Thanks for the quick reply! Your fix looks great. jirkamarsik (Jirka Marsik)

Also available in: Atom