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

Duplicate results #476

Closed
CamJN opened this issue May 9, 2017 · 1 comment
Closed

Duplicate results #476

CamJN opened this issue May 9, 2017 · 1 comment
Labels
duplicate An issue that is duplicative of another.

Comments

@CamJN
Copy link

CamJN commented May 9, 2017

Both these commands are run against the same file, with the same contents.

camdennarzt@SECUR-T:~/Documents/japanese $ rg -o '.{10}たいです.{85}' words.json 
1:{"kana":"〜たいです","furigana":"〜たいです","english":["(I","we) want to ...","(I","we) would like to ..."]}
1:{"kana":"〜たいです","furigana":"〜たいです","english":["(I","we) want to ...","(I","we) would like to ..."]}
1:{"kana":"〜たいです","furigana":"〜たいです","english":["(I","we) want to ...","(I","we) would like to ..."]}
1:{"kana":"〜たいです","furigana":"〜たいです","english":["(I","we) want to ...","(I","we) would like to ..."]}
1:{"kana":"〜たいです","furigana":"〜たいです","english":["(I","we) want to ...","(I","we) would like to ..."]}
1:{"kana":"〜たいです","furigana":"〜たいです","english":["(I","we) want to ...","(I","we) would like to ..."]}
1:{"kana":"〜たいです","furigana":"〜たいです","english":["(I","we) want to ...","(I","we) would like to ..."]}
1:{"kana":"〜たいです","furigana":"〜たいです","english":["(I","we) want to ...","(I","we) would like to ..."]}
1:{"kana":"〜たいです","furigana":"〜たいです","english":["(I","we) want to ...","(I","we) would like to ..."]}
1:{"kana":"〜たいです","furigana":"〜たいです","english":["(I","we) want to ...","(I","we) would like to ..."]}
camdennarzt@SECUR-T:~/Documents/japanese $ egrep -o '.{10}たいです.{85}' words.json 
{"kana":"〜たいです","furigana":"〜たいです","english":["(I","we) want to ...","(I","we) would like to ..."]}
さんのために何か買いたいです","furigana":"わたしはりほさんのためになにかかいたいです","english":["I want to buy something for Ms. Riho
なたのために何か買いたいです","furigana":"あなたのためになにかかいたいです","english":["I want to buy something for you"]},{"kana
"鈴木さんは何を買いたいですか?","furigana":"すずきさんはなにをかいたいですか?","english":["what does Mr. Suzuki want to buy?"]},{
ana":"何を買いたいですか?","furigana":"なにをかいたいですか?","english":["what do you want to buy?"]},{"kana":"私は緑のスカー
a":"私は服を買いたいです","furigana":"わたしはふくをかいたいです","english":["I want to buy some clothes"]},{"kana":"銀行は開い
{"kana":"冷たいです","furigana":"つめたいです","english":["is cold"]},{"kana":"寒いです","furigana":"さむいです","engli
:"私は劇場を見つけたいです","furigana":"わたしはげきじょうをみつけたいです","english":["I want to find the theatre"]},{"kana":"現
"これはきんきゅうじたいです","kana":"これは緊急事態です","english":["this is an emergency"]},{"furigana":"わたしはぐあいがわるいです",
rigana":"いたいです","kana":"痛いです","english":["to hurt","it hurts"]},{"furigana":"おなかがいたいです","kana":"お腹が

Not sure if this is a known limitation or what. File contents at: https://gist.github.com/CamJN/71c16779bce5e8bb38c24eba8d13b1ff

@BurntSushi
Copy link
Owner

I think this is a dupe of #451, which is fixed on master.

@BurntSushi BurntSushi added the duplicate An issue that is duplicative of another. label May 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate An issue that is duplicative of another.
Projects
None yet
Development

No branches or pull requests

2 participants