Skip to content

Match whole word does not work for not latin characters (at least for cyrillic) #3623

Closed

Description

I created the next document:

я
компилятор
обфускация

i
compiler
cli

And if I am trying to find all whole words "я", vscode highlights all three first words. But if I am trying to find "i", vs code highlights only fourth word.

Activity

  1. nixel2007 commented on May 23, 2016

    @nixel2007
  2. added
    bug
    on May 23, 2016
  3. ebugusey commented on Sep 29, 2016

    @ebugusey

    The problem is that js doesn't have full support for unicode. Even with /u in ES6 it just doesn't work. You should use oniguruma for regular expressions, like Atom does.

  4. nixel2007 commented on Sep 29, 2016

    @nixel2007

    ebugusey atom does not use oniguruma everywhere or it doesn't help in all cases. I've made a unicode support for Atom-autocomplete using the XRegExp library.

  5. martinsuchan commented on Feb 6, 2017

    @martinsuchan

    Just discovered this bug - still happening in VS Code 1.9. It's especially problematic when searching for specific word in localized comments or searching for all usages of variable with short name:
    match_whole_word

  6. alexdima commented on May 20, 2017

    @alexdima
    Member
  7. bambr1975 commented on May 25, 2017

    @bambr1975

    default
    Doesn't work

  8. alexdima commented on May 25, 2017

    @alexdima
    Member

    Search in files uses a different implementation. Hence the ping to roblourens

  9. roblourens commented on May 25, 2017

    @roblourens
    Member

    Opened a new issue for it, #27280

  10. locked and limited conversation to collaborators on Nov 18, 2017
  11. added a commit that references this issue on Mar 6, 2020
    91d0645
  12. added a commit that references this issue on Sep 6, 2026
    66440f0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugeditor-findverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions