Skip to content

Could noCase package support Chinese word #289

@ihepta

Description

@ihepta

hi, Blake Embrey
first of all, thank you for your excellent toolkit.
but i find there are two lines code in noCase package

// Remove all non-word characters.
const DEFAULT_STRIP_REGEXP = /[^A-Z0-9]+/gi;

In my scenario, it would remove all chinese word, like '中文'.

Is it be possible to support chinese word?
just like pass the chinese word to this package, return the chinese word itself rather than the empty word or anything else.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions