is there way search code in github repo using regular expressions?
currently, clone repo , search.
but want type like
s/foo/gi
and find occurances of foo in code:
foo.create foo.extend foobar barfoo bar.foo
is possible? missing in docs?
since it's git repo, why not clone locally, , use git grep
1 of it's regex options?:
git grep [-w | --word-regexp] [-e | --extended-regexp] [-g | --basic-regexp] [-p | --perl-regexp]
so maybe along lines of
$ git clone repo $ git grep -w foo
Comments
Post a Comment