Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wgrep not working when used with ag --vimgrep #52

Open
zilongshanren opened this issue Nov 8, 2018 · 0 comments
Open

wgrep not working when used with ag --vimgrep #52

zilongshanren opened this issue Nov 8, 2018 · 0 comments

Comments

@zilongshanren
Copy link

-*- mode:grep; default-directory: "d:/HLMJ_H5_proj/branches/HLMJ_MINA/HLMJ_creator_mina/assets/scripts/" -*-


4 candidates:
./Game/View/TableHandler/UserHandler.js:857:14:        this.CheckMJCountCorrect();
./Game/View/TableHandler/UserHandler.js:860:5:    CheckMJCountCorrect: function () {
./Game/View/TableHandler/UserHandler.js:865:24:            Log.Error("CheckMJCountCorrect failed ", ModuleType.Game);
./Game/View/TableHandler/UserHandler.js:866:43:            Util.CheckUploadLogAndReplay("CheckMJCountCorrect", PlayerPrefsKey.int_CheckDataErrorReplayTimes);

When use ag --vimgrep, the file line will contains a column value, wgrep can't handle this case properly.

Is there any workaround?

Could I modify wgrep-line-file-regexp to resolve this issue?

thanks.

@zilongshanren zilongshanren changed the title wgrep not working when used under ag --vimgrep wgrep not working when used with ag --vimgrep Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant