fastgem icon indicating copy to clipboard operation
fastgem copied to clipboard

Regex keyword

Open at-binhcq opened this issue 10 years ago • 4 comments

Some time, I would like to use regex to get more exactly result.

at-binhcq avatar Dec 28 '15 02:12 at-binhcq

@at-binhcq i think we search by key-word. so result is good and exactly

Nguyenanh avatar Dec 28 '15 03:12 Nguyenanh

Let's see this example:

 gem search rubocop

*** REMOTE GEMS ***

blinkbox-rubocop (0.0.0)
gatemedia_rubocop (0.1.0)
guard-rubocop (1.2.0)
guard_rubocop (0.0.1)
hoe-rubocop (1.0.4)
lintci-rubocop (0.0.1)
multi_rubocops (0.1.0)
pronto-rubocop (0.5.0)
pusher-rubocop (0.1.0)
ridecharge-rubocop (0.0.1)
rubocop (0.35.1)
rubocop-cask (0.0.1)
rubocop-checkstyle_formatter (0.2.0)
rubocop-composer (0.1.0)
rubocop-emoji (0.1.0)
rubocop-git (0.0.5)
rubocop-junit-formatter (0.1.3)
rubocop-nww (0.0.5)
rubocop-postgresql_cursor (0.0.2)
rubocop-redmine_wiki_formatter (0.1.0)
rubocop-rspec (1.3.1)
rubocop-rspec-focused (0.0.3)
rubocop-select (0.1.1)
rubocop-single-responsibility-principle (0.1.0)
rubocop-yast (0.0.8)
rubocop192 (0.0.1)
rubocop_delayed_job (1.1.0)
rubocop_json (0.0.1)
rubocop_prefer_binstubs (0.1.0)
rubocop_require_relative (1.0.0)
rubocop_respond_with (1.0.0)
rubocopfixer (0.0.3)
rubocopter (0.1.6)
ruby-appraiser-rubocop (1.0.1)
sabat-guard-rubocop (0.1.1)
sabat-rubocop (0.9.0)
spring-commands-rubocop (0.1.0)

How about if I just want to search for rubocop-single-responsibility-principle gem and I feel tired to type full gem name :)

In this point, I think fastgem search robocopprin will more convienient.

at-binhcq avatar Dec 28 '15 03:12 at-binhcq

i think there are gem runtime_dependency of rubocop gem. if you install missing one of them then rubocop run error

Nguyenanh avatar Dec 28 '15 03:12 Nguyenanh

It just an example for this use case.

2015-12-28 10:20 GMT+07:00 Nguyen Anh [email protected]:

i think there are gem runtime_dependency of rubocop gem. if you install missing one of them then rubocop run error

— Reply to this email directly or view it on GitHub https://github.com/Nguyenanh/fastgem/issues/3#issuecomment-167467357.

CAO Quang Binh, Y!M: cq.binh Skype: justin.nikme (+84) 906 402 023 (+84) 963 771 246

at-binhcq avatar Dec 28 '15 03:12 at-binhcq