Skip to content

Character properties ignore the ignore case flag #41

@k-takata

Description

@k-takata
/(?i)\p{lower}\p{upper}/ =~ "Ab"       → unmatch
/(?i)[\p{lower}][\p{upper}/] =~ "Ab"   → match

If they are in character class, the flag is not ignored. It is inconsistent.
Oniguruma 5.9.5 also behaves like this.

Perl 5.16 doesn't ignore the flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions