Skip to content

regex doesnt work for UTF8 #147

Description

@dcsan

I'm trying some chinese inputs, and the [*] format doesn't seem to behave

    + [*] 你好 [*]
    - wrapping 你好

image

so as you can see using normal western code ww on the sides of the chinese characters is OK, but the [*] isn't matching if using chinese characters, with or without a space. I also tried the rive pattern without spaces, ie

+ [*]你好[*]

although i'm not sure what the best practice is here.

FWIW normal * is matching OK:

    + 你好
    - 你-》你好<get nickname>

    + 你好 *
    - 你-》<star>

    + [*] 你好 [*]
    - wrapping 你好

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions