micromatch: Matcher doesn't work properly when glob contains Japanese characters.

Please describe the minimum necessary steps to reproduce this issue:

const { matcher } = require('micromatch')
matcher('folder/**/*')('folder/aaa.js') // => true
matcher('フォルダ/**/*')('フォルダ/aaa.js') // => false

What is happening (but shouldn’t):

See gulp#2153.

What should be happening instead?

Support glob which contains Japanese characters.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 21 (16 by maintainers)

Most upvoted comments

Well, no, it’s in the 4.0 release. Maybe I’m not so awesome… However, I can back and do a patch for the earlier versions as well.

@jonschlinkert oh, okay. Thanks 😸

A back-ported patch would be greatly appreciated!